Skip to main content
POST

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Body

application/json
prompt
string
required

Task prompt for the agent

instructions
string

System instructions. Defaults to a general-purpose legal assistant prompt if not provided.

model
string

LLM model identifier. Defaults to anthropic/claude-sonnet-4.6

vaultIds
string[] | null

Restrict agent to specific vault IDs

objectIds
string[] | null

Scope this run to specific vault object IDs. The agent will only access these objects.

guidance
string | null

Additional context or constraints for this run

enabledTools
string[] | null

Allowlist of tools the agent can use. Mutually exclusive with disabledTools — set one or the other, not both.

disabledTools
string[] | null

Denylist of tools the agent cannot use. Mutually exclusive with enabledTools — set one or the other, not both.

sandbox
object | null

Custom sandbox resources (cpu, memoryMiB)

Response

Run started

runId
string

Run ID — poll /agent/v1/run/:id/status

agentId
string

Ephemeral agent ID (auto-created). This agent is soft-deleted when the run completes and should not be stored for reuse.

status
enum<string>
Available options:
running
message
string