Integrations
REST — Dashboard & Orchestration

REST - Dashboard & Orchestration

Base URL: https://api.adros.ai/api/v1
Auth: Authorization: Bearer lyr_<your_mcp_token> on HTTP routes.

This page is a topic index, not a full API spec. For request/response schemas, required query params, and the complete route list, use OpenAPI (opens in a new tab) on the live API.

Deploys can lag repository main; if a path returns 404, verify your environment version.


Command Center & tasks

MethodPathNotes
GET/projectsList projects
GET/projects/{project_id}/tasksTasks for a project
GET/tasksList tasks (filters as documented in OpenAPI)
GET/tasks/{task_id}Task detail
GET/tasks/{task_id}/eventsTimeline / activity feed
POST/tasks/{task_id}/approveApprove task
POST/tasks/{task_id}/rejectReject with feedback
POST/tasks/{task_id}/pausePause task
POST/tasks/{task_id}/resumeResume a paused task
POST/tasks/{task_id}/resume-with-instructionsResume a paused task with updated context
POST/tasks/{task_id}/closeClose task without deleting history
POST/tasks/{task_id}/commentsAdd discussion; optional linked follow-up task
GET/tasks/{task_id}/blockersList human-required blockers
POST/tasks/{task_id}/blockersCreate blocker
POST/tasks/{task_id}/blockers/{blocker_id}/resolveResolve blocker
GET/approvals/pendingPending approvals queue
POST/audits/triggerTrigger audit flow

Status note: Task status reflects the full lifecycle, not just file upload. A task can still be review, paused, or failed after artifacts appear if approvals, package completion, or requested revisions are still outstanding.

Audit quality track (when enabled)

MethodPathNotes
GET/tasks/{task_id}/scorecardScorecard for completed audit path
GET/tasks/{task_id}/guardrailsGuardrail status
GET/projects/{project_id}/audit-trendsTrend summary for project

Backend behavior depends on migration 025_audit_quality_track and env AUDIT_QUALITY_TRACK_ENABLED.


Strategy Workspace

MethodPathNotes
GET/workspace/summary?client_id=...Stage-oriented summary (artifacts, masters, related tasks)
POST/workspace/snapshotRecord workspace snapshot to R2
GET/workspace/stages/{stage_id}/previewStage preview
POST/workspace/stages/{stage_id}/masterPromote artifact to stage master
POST/workspace/stages/{stage_id}/reviewStage review note; optional follow-up task

Deploy handoff

MethodPathNotes
POST/deploys/requestCreate deploy task (adros_deployer) with manifest context

Chat

MethodPathNotes
POST/chatChat completion (supports client_id where applicable)
GET/chat/memoriesMemory debug
WebSocket/ws/chat?token=lyr_...Streaming chat

Files (R2)

MethodPathNotes
POST/files/uploadMultipart upload; client-scoped
GET/files/browseList objects under prefix
GET/files/downloadSigned or proxied download
DELETE/files/deleteDelete object

Requires R2 env configuration on the server. Errors should indicate misconfiguration vs auth.


Campaigns & performance

MethodPathNotes
GET/me/campaignsGoogle Ads campaign list + metrics
GET/me/campaigns/{campaign_id}/ad-groupsDrill-down
GET/me/campaigns/{campaign_id}/keywordsDrill-down
GET/me/meta/campaignsMeta campaigns when connected

Integrations

MethodPathNotes
GET/me/clients/{client_id}/integrationsList
PUT/me/clients/{client_id}/integrations/{provider}Upsert encrypted config
POST/me/clients/{client_id}/integrations/{provider}/testTest connection
POST/me/clients/{client_id}/integrations/whatsapp/demo-messageDemo send (when configured)
DELETE/me/clients/{client_id}/integrations/{provider}Remove

User-scoped provider BYOK

MethodPathNotes
GET/me/provider-integrationsList current user-scoped provider secrets (masked)
PUT/me/provider-integrations/{provider}Upsert encrypted user-scoped provider secret
POST/me/provider-integrations/{provider}/testTest user-scoped provider connection
DELETE/me/provider-integrations/{provider}Revoke provider secret
POST/me/research/perplexity/searchDedicated metered Perplexity research route

Monitoring

MethodPathNotes
GET / DELETE / POST/me/monitoring/webhookConfigure webhook
POST/me/monitoring/webhook/testTest delivery
POST/me/monitoring/run-nowForce monitor run

Real-time task events

wss://api.adros.ai/api/v1/ws/events/{task_id}?token=lyr_YOUR_TOKEN

The server verifies task ownership before streaming.


Contract & client state

MethodPathNotes
GET/contract/specSingle-stage spec
GET/contract/specsList specs
POST/contract/writebackSpecialist writeback
GET/me/clients/{client_id}/stateClient lifecycle state

Related docs