Skip to main content
POST
Create an Agent Picks self-run upload

Authorizations

Authorization
string
header
required

API key with dtk_live_ prefix. Obtain it from API Keys in the account sidebar. New keys start with all supported scopes selected for the chosen project, and you can narrow them to specific read/write scopes as needed.

Path Parameters

projectId
string<uuid>
required

The project the credential is bound to. Read it from GET /connection.

Body

application/json

A self-run bundle's manifest.json as the agentpicks CLI writes it. Its context is reported by the customer's machine and not verified. It names stack or repository, never both.

bundleVersion
enum<integer>
required
Available options:
1
runId
string<uuid>
required

Generated by the runner; the upload is keyed on it.

runner
object
required
agent
object
required
host
object
required
sandbox
object
required
request
object
required
startedAt
string<date-time>
required
finishedAt
string<date-time>
required
artifacts
object[]
required
stack
object
repository
object

Response

Opened upload

data
object
required
meta
object
required

Sent beside data on every successful response that returns data.