Home / Market / go-skyvern

go-skyvern

Unofficial Go client for the Skyvern API, generated with oapi-codegen from the published OpenAPI document. Package skyvern (github.com/psyb0t/go-skyvern) provides typed REST methods for tasks, agents, runs, browser sessions and profiles, credentials, scripts, schedules, tags, artifacts and audit exports. Use when Go code needs Skyvern browser automation or already imports go-skyvern.

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

Documentation & Preview

go-skyvern: setup and reference

This module is unofficial and not affiliated with Skyvern.

Requirements

Install

go get github.com/psyb0t/go-skyvern

Environments

| Environment | Base URL | | --- | --- | | Cloud | https://api.skyvern.com | | Staging | https://api-staging.skyvern.com | | Local | http://localhost:8000 |

Auth

The spec declares ApiKeyAuth, an API key in the x-api-key header. Use WithRequestEditorFn to set that header, as shown in the skill.

Client

Main operations

| Operation | Endpoint | | --- | --- | | API version | GET /v1/version | | Start a task | POST /v1/run/tasks | | Start an agent | POST /v1/run/agents | | List and inspect runs | GET /v1/runs, GET /v1/runs/{run_id} | | Cancel a run | POST /v1/runs/{run_id}/cancel | | Create and list agents | POST /v1/agents, GET /v1/agents | | Browser sessions | POST /v1/browser_sessions, GET /v1/browser_sessions | | Browser profiles | POST /v1/browser_profiles, GET /v1/browser_profiles | | Credentials | POST /v1/credentials, GET /v1/credentials | | Scripts | POST /v1/scripts, GET /v1/scripts | | Schedules | GET /v1/schedules and /v1/agents/{workflow_permanent_id}/schedules | | Artifacts | GET /v1/runs/{run_id}/artifacts | | Audit exports | GET /v1/audit-events/export |

Operation IDs determine generated method names. Some retain Workflow in the name even though their route uses /v1/agents.

Responses and pitfalls