# Whiteboxx Agents API > Call Whiteboxx agents from your own code: list them, talk to them and run workflows with them. Base URL: https://engine.whiteboxx.ai. It is the live service, and a call that asks an agent spends credits. - [Full reference](/llms-full.txt): every call below, with its parameters, request fields and responses. - [OpenAPI schema](/openapi.json): the same calls as JSON. - [Whiteboxx skill](https://engine.whiteboxx.ai/.well-known/agent-skills/whiteboxx/SKILL.md): teaches a coding agent the whole API, the CLI, the Python SDK and the MCP tools. Install it with `npx skills add https://engine.whiteboxx.ai`. - [MCP server](https://engine.whiteboxx.ai/v1/mcp): Streamable HTTP, with your API key as a bearer token. `GET /v1/mcp/tools` lists its tools. ## Organizations Every workspace and agent belongs to an organization, so the first call lists the organizations you can work in. An API key works in every one of them. A request acts in the organization of the workspace or agent it names. - GET /v1/organizations: List organizations ## Workspaces Every agent belongs to a workspace, and every workspace to an organization. Send the `organization_id` from List organizations. The calls below take a `workspace_id` from this list. - GET /v1/workspaces: List workspaces ## Agents The agents in a workspace, one row each. To read an agent's persona, use the call under Agent persona. - GET /v1/agents: List agents ## Agent persona One agent in full. It includes who the agent speaks as, the evidence it holds, the age of that evidence and the results of its build checks. - GET /v1/agents/{agent_id}: Get an agent ## Converse Open a conversation with one agent or a group, ask questions and read the transcript. Every answer cites the evidence rows it used. - POST /v1/conversations: Create a conversation - POST /v1/conversations/{conversation_id}/messages: Ask - GET /v1/conversations/{conversation_id}/messages: List messages - POST /v1/conversations/{conversation_id}/messages:stream: Ask, and get each answer as it is written ## Threads A thread holds a piece of work: its runs and conversations, in order. Every run goes in a thread. If you start a run without one, the run opens a new thread. - POST /v1/threads: Create a thread - GET /v1/threads: List threads - GET /v1/threads/{thread_id}: Get a thread - PATCH /v1/threads/{thread_id}: Rename a thread - POST /v1/threads/{thread_id}:archive: Archive a thread - POST /v1/threads/{thread_id}:restore: Restore a thread ## Workflows A workflow is a saved job you run with your agents: a focus group, a brainstorm, a creative evaluation, a survey. Whiteboxx provides 11, and your organization can save its own. Each workflow's `run_form` and `input_spec` say what a run of it needs. - GET /v1/workflows: List workflows - GET /v1/workflows/{workflow_id}: Get a workflow ## Run inputs What some workflows need before they run. Creative evaluation judges files in the workspace, on the objectives in the creative catalog. List the files already there before you upload one. Survey asks a panel: the people it asks, weighted to a population. Make panels in the app. - GET /v1/assets: List files - POST /v1/assets: Upload a file - GET /v1/assets/{asset_id}: Get a file - POST /v1/assets/{asset_id}:archive: Remove a file - GET /v1/creative-catalog: Read the creative catalog - GET /v1/panels: List panels - GET /v1/panels/{panel_id}: Get a panel ## Run a workflow Ask for the plan first: it says how many questions go to how many agents, and what that costs in credits. Then start the run with the same request and `start: true`, and read it until it finishes. - POST /v1/workflows/{workflow_id}/runs: Plan or start a run - GET /v1/workflows/{workflow_id}/runs: List a workflow's runs - GET /v1/workflow-runs/{run_id}: Get a run - POST /v1/workflow-runs/{run_id}:cancel: Cancel a run ## Run results What a finished run made. Every run lists its outputs. The answers of a focus group, brainstorm or group conversation are a transcript; a creative evaluation adds a scored card for each creative; a survey's answers are weighted results. - GET /v1/workflow-runs/{run_id}/outputs: List a run's outputs - GET /v1/workflow-runs/{run_id}/outputs/{output_id}: Get an output - GET /v1/workflows/{workflow_id}/runs/{run_id}/transcript: Export a transcript - GET /v1/interactions/{interaction_id}/waves/{wave}/results: Read a survey's results