API reference
Endpoints
The 128 operations in the current public OpenAPI document, grouped as it tags them. The full reference below carries each one's parameters, request body, responses and examples.
Agent-to-Agent
POST/api/v2/a2aA2A Jsonrpc
Agents
GET/api/v2/agentsList public agentsPOST/api/v2/agentsCreate a custom agentPOST/api/v2/agents/applyApply a declarative agent manifestPOST/api/v2/agents/buildStart an async agent buildGET/api/v2/agents/build/{run_id}Get agent build statusGET/api/v2/agents/customList your custom agentsPOST/api/v2/agents/extractPreview config extraction from pasted textPOST/api/v2/agents/generate-workflowPreview a generated workflow for an SOPPOST/api/v2/agents/validateValidate an agent config without savingGET/api/v2/agents/{agent_id}Get an agent's configurationDELETE/api/v2/agents/{agent_id}Archive a custom agentPATCH/api/v2/agents/{agent_id}Update a custom agentGET/api/v2/agents/{agent_id}/context-filesList context filesPOST/api/v2/agents/{agent_id}/context-filesAttach a context filePOST/api/v2/agents/{agent_id}/context-files/importImport a context file by URL or from an attachmentGET/api/v2/agents/{agent_id}/context-files/{name}Download a context fileDELETE/api/v2/agents/{agent_id}/context-files/{name}Remove a context filePOST/api/v2/agents/{agent_id}/plan-previewPreview the research plan for a questionGET/api/v2/agents/{agent_id}/shareList sharesPOST/api/v2/agents/{agent_id}/shareShare an agentDELETE/api/v2/agents/{agent_id}/shareRevoke a shareGET/api/v2/agents/{agent_id}/versionsList configuration versionsGET/api/v2/agents/{agent_id}/versions/{version_num}Get one configuration versionPOST/api/v2/agents/{agent_id}/versions/{version_num}/restoreRestore a configuration versionPOST/api/v2/agents/{agent_id}/visibilitySet public/private visibilityGET/api/v2/expertsList public agentsPOST/api/v2/expertsCreate a custom agentPOST/api/v2/experts/applyApply a declarative agent manifestPOST/api/v2/experts/buildStart an async agent buildGET/api/v2/experts/build/{job_id}Get agent build statusGET/api/v2/experts/customList your custom agentsPOST/api/v2/experts/extractPreview config extraction from pasted textPOST/api/v2/experts/generate-workflowPreview a generated workflow for an SOPGET/api/v2/experts/mcp-toolsList MCP tools available to agentsGET/api/v2/experts/skillsList skills available to agentsPOST/api/v2/experts/skillsCreate a custom skillGET/api/v2/experts/skills/{skill_name}Read a skill's SKILL.mdPOST/api/v2/experts/validateValidate an agent config without savingGET/api/v2/experts/{expert_id}Get an agent's configurationDELETE/api/v2/experts/{expert_id}Archive a custom agentPATCH/api/v2/experts/{expert_id}Update a custom agentGET/api/v2/experts/{expert_id}/context-filesList context filesPOST/api/v2/experts/{expert_id}/context-filesAttach a context filePOST/api/v2/experts/{expert_id}/context-files/importImport a context file by URL or from an attachmentGET/api/v2/experts/{expert_id}/context-files/{name}Download a context fileDELETE/api/v2/experts/{expert_id}/context-files/{name}Remove a context filePOST/api/v2/experts/{expert_id}/plan-previewPreview the research plan for a questionGET/api/v2/experts/{expert_id}/shareList sharesPOST/api/v2/experts/{expert_id}/shareShare an agentDELETE/api/v2/experts/{expert_id}/shareRevoke a shareGET/api/v2/experts/{expert_id}/versionsList configuration versionsGET/api/v2/experts/{expert_id}/versions/{version_num}Get one configuration versionPOST/api/v2/experts/{expert_id}/versions/{version_num}/restoreRestore a configuration versionPOST/api/v2/experts/{expert_id}/visibilitySet public/private visibilityGET/api/v2/integrationsList MCP tools available to agentsGET/api/v2/skillsList skills available to agentsPOST/api/v2/skillsCreate a custom skillGET/api/v2/skills/{skill_name}Read a skill's SKILL.md
Campaigns
POST/api/v2/agents/{agent_id}/campaignsRun an agent's campaignGET/api/v2/campaignsList CampaignsPOST/api/v2/campaignsCreate CampaignPOST/api/v2/campaigns/validateValidate CampaignGET/api/v2/campaigns/{campaign_id}Get CampaignPATCH/api/v2/campaigns/{campaign_id}Update CampaignPOST/api/v2/campaigns/{campaign_id}/approveApprove CampaignGET/api/v2/campaigns/{campaign_id}/artifacts/{deliverable_key}Download Campaign ArtifactGET/api/v2/campaigns/{campaign_id}/browser-sessionsGet Campaign Browser SessionsPOST/api/v2/campaigns/{campaign_id}/cancelCancel CampaignGET/api/v2/campaigns/{campaign_id}/portfolioGet Campaign PortfolioPOST/api/v2/campaigns/{campaign_id}/retryRetry CampaignPOST/api/v2/experts/{expert_id}/campaignsRun an agent's campaign
Attachments
POST/api/v2/attachmentsCreate an attachmentPOST/api/v2/attachments/importCreate an attachment from a URLPOST/api/v2/attachments/uploadsBegin Attachment UploadGET/api/v2/attachments/{attachment_id}Get an attachmentDELETE/api/v2/attachments/{attachment_id}Delete an attachmentPUT/api/v2/attachments/{attachment_id}/contentUpload Attachment Content
Batch schedules
GET/api/v2/batch-schedules/{schedule_id}Get Batch ScheduleDELETE/api/v2/batch-schedules/{schedule_id}Delete Batch SchedulePATCH/api/v2/batch-schedules/{schedule_id}Patch Batch SchedulePOST/api/v2/batch-schedules/{schedule_id}/pausePause Batch Schedule EndpointPOST/api/v2/batch-schedules/{schedule_id}/resumeResume Batch Schedule EndpointPOST/api/v2/batch-schedules/{schedule_id}/run-nowRun Batch Schedule NowPOST/api/v2/loopsCreate LoopGET/api/v2/loops/{schedule_id}Resource Get Batch ScheduleDELETE/api/v2/loops/{schedule_id}Resource Delete Batch SchedulePATCH/api/v2/loops/{schedule_id}Resource Patch Batch SchedulePOST/api/v2/loops/{schedule_id}/pauseResource Pause Batch Schedule EndpointPOST/api/v2/loops/{schedule_id}/resumeResource Resume Batch Schedule EndpointPOST/api/v2/loops/{schedule_id}/run-nowResource Run Batch Schedule Now
Batches
GET/api/v2/batchesList your batchesPOST/api/v2/batchesCreate a batchGET/api/v2/batches/estimateEstimate a batch's credit costGET/api/v2/batches/{batch_id}Get a batchPOST/api/v2/batches/{batch_id}/cancelCancel a batchGET/api/v2/batches/{batch_id}/resultsGet batch row results, all at once or a page at a timePOST/api/v2/batches/{batch_id}/retry-failedRetry every failed batch rowPOST/api/v2/batches/{batch_id}/rows/{row_number}/retryRetry one failed batch row
Billing
GET/api/v2/billing/transactionsGet Billing TransactionsGET/api/v2/billing/usageGet Billing UsageGET/api/v2/quotaGet QuotaGET/api/v2/quota/checkCheck QuotaGET/api/v2/usageResource Get Billing Usage
API Keys
GET/api/v2/keysList your API keysPOST/api/v2/keysCreate an API keyDELETE/api/v2/keys/{key_id}Revoke an API key
Runs
GET/api/v2/researchList runsPOST/api/v2/researchStart a runGET/api/v2/research/{job_id_or_slug}Get a runPATCH/api/v2/research/{job_id_or_slug}Update a runPOST/api/v2/research/{job_id_or_slug}/cancelCancel a runPOST/api/v2/research/{job_id_or_slug}/continueContinue a runGET/api/v2/research/{job_id_or_slug}/filesList a run's filesGET/api/v2/research/{job_id_or_slug}/files/{file_path}Read a run's fileGET/api/v2/research/{job_id_or_slug}/timelineGet a run's timelineGET/api/v2/runList runsPOST/api/v2/runStart a runGET/api/v2/run/{job_id_or_slug}Get a runGET/api/v2/runsList runsPOST/api/v2/runsStart a runGET/api/v2/runs/{run_id_or_slug}Get a runPATCH/api/v2/runs/{run_id_or_slug}Update a runPOST/api/v2/runs/{run_id_or_slug}/cancelCancel a runPOST/api/v2/runs/{run_id_or_slug}/continueContinue a runGET/api/v2/runs/{run_id_or_slug}/filesList a run's filesGET/api/v2/runs/{run_id_or_slug}/files/{file_path}Read a run's fileGET/api/v2/runs/{run_id_or_slug}/timelineGet a run's timeline
Live specification · V2
Generated OpenAPI reference
The complete contract below comes from the current public OpenAPI document, never from an editor-managed operation list.
Checking generated source…
Loading the generated API reference…