> ## Documentation Index
> Fetch the complete documentation index at: https://docs.creao.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a Super Agent async run

> Start a background Super Agent conversation.



## OpenAPI

````yaml /developer-api/developer-v1.openapi.yaml post /v1/super-agent/runs
openapi: 3.1.0
info:
  title: CREAO Developer API
  version: 1.0.0
  description: |
    Create, update, and run personal CREAO agents from your backend with
    Account API keys. The v1 API uses stable `agent_id`, `conversation_id`, and
    `run_id` identifiers and is served from `developer.creao.ai`.
servers:
  - url: https://developer.creao.ai
    description: Production
security:
  - bearerAuth: []
  - apiKeyQuery: []
tags:
  - name: Agents
    description: >-
      Create, list, get, update, and edit personal agents for the authenticated
      account.
  - name: Agent Memory
    description: >-
      Read, overwrite, and clear long-term memory (playbooks) for a personal
      agent.
  - name: Agent Files
    description: List, download, and delete files in a personal agent's skill file space.
  - name: Product Profile
    description: Once-per-account Super Agent persona and brand context.
  - name: Agent Runs
    description: >-
      Create, stream, fetch, and list runs for created personal agents. Super
      Agent rows are excluded.
  - name: Super Agent
    description: >-
      Chat with CREAO Super Agent from your backend. Same SSE vocabulary as
      Agent Runs. Requires an allowlisted account.
  - name: Models
    description: Discover supported model ids and account-specific availability.
  - name: Workspaces
    description: Create and list personal workspaces, and add or remove personal agents.
  - name: Workspace Files
    description: Upload, list, download, and delete files in a personal workspace.
  - name: Secrets
    description: Add, update, and list account secret keys. Values are write-only.
  - name: Skills
    description: Install, list, and enable account-level Agent Brain skills.
paths:
  /v1/super-agent/runs:
    post:
      tags:
        - Super Agent
      summary: Create a Super Agent async run
      description: |
        Chat with CREAO Super Agent in the background. Optional
        `conversation_id` continues an existing Super Agent conversation — an
        Agent Run conversation returns `400 CONVERSATION_KIND_MISMATCH`. The
        account product profile is applied automatically.
      operationId: createSuperAgentAsyncRun
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSuperAgentAsyncRunRequest'
            examples:
              research:
                summary: Web3 research
                value:
                  input:
                    query: Summarize recent Solana TVL changes.
                  model: anthropic/claude-haiku-4-5
      responses:
        '202':
          description: Run accepted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Run'
              examples:
                pending:
                  value:
                    run_id: 11111111-1111-4111-8111-111111111111
                    status: pending
                    agent_id: null
                    conversation_id: 22222222-2222-4222-8222-222222222222
                    model: anthropic/claude-haiku-4-5
        '400':
          $ref: '#/components/responses/AsyncInvalidInput'
        '401':
          $ref: '#/components/responses/AuthenticationRequired'
        '402':
          $ref: '#/components/responses/InsufficientCredits'
        '403':
          $ref: '#/components/responses/AccountBlocked'
        '404':
          description: The conversation does not exist for this account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                conversationNotFound:
                  value:
                    error: CONVERSATION_NOT_FOUND
        '409':
          description: The conversation is already bound to a different workspace.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                workspaceMismatch:
                  value:
                    error: WORKSPACE_MISMATCH
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  schemas:
    CreateSuperAgentAsyncRunRequest:
      type: object
      additionalProperties: false
      required:
        - input
      properties:
        input:
          description: >-
            JSON input for Super Agent. Serialized input must be 256 KB or
            smaller.
        model:
          type: string
          maxLength: 100
          description: >-
            Model id to run with (for example, `anthropic/claude-haiku-4-5`).
            Omit to use the default model, currently
            `anthropic/claude-sonnet-5`. Supported ids: `GET /v1/models`.
        conversation_id:
          type: string
          format: uuid
          description: >-
            Existing Super Agent conversation to continue. Agent Run
            conversations are rejected.
        workspace_id:
          type: string
          format: uuid
          description: Personal workspace whose root uploads Super Agent can read.
        webhook_url:
          type: string
          format: uri
          maxLength: 2048
          description: Public `http` or `https` URL for the terminal async result.
        should_notify:
          type: boolean
          description: >-
            Optional boolean gate for completion notifications. Not accepted on
            realtime runs.
    Run:
      type: object
      required:
        - run_id
        - status
        - agent_id
        - conversation_id
        - model
      properties:
        run_id:
          type: string
          format: uuid
          description: Developer API run ID.
        status:
          $ref: '#/components/schemas/RunStatus'
        agent_id:
          oneOf:
            - type: string
              format: uuid
            - type: 'null'
          description: >-
            Agent that ran. Creation runs return `null` until the agent is
            created, then the completed run includes the new agent ID.
        conversation_id:
          oneOf:
            - type: string
              format: uuid
            - type: 'null'
          description: Conversation ID for follow-up runs.
        workspace_id:
          oneOf:
            - type: string
              format: uuid
            - type: 'null'
          description: Personal workspace bound to this conversation, when set.
        model:
          oneOf:
            - type: string
            - type: 'null'
          description: >-
            Model id this run executed with. `null` only for runs created before
            model selection shipped.
        result:
          $ref: '#/components/schemas/RunResult'
        usage:
          $ref: '#/components/schemas/Usage'
        error:
          $ref: '#/components/schemas/RunError'
        created_at:
          type: string
          format: date-time
        started_at:
          oneOf:
            - type: string
              format: date-time
            - type: 'null'
        completed_at:
          oneOf:
            - type: string
              format: date-time
            - type: 'null'
        webhook_delivered_at:
          oneOf:
            - type: string
              format: date-time
            - type: 'null'
    ErrorResponse:
      type: object
      additionalProperties: true
      required:
        - error
      properties:
        error:
          type: string
          description: Stable machine-readable error code.
        message:
          type: string
          description: Debug message. Do not rely on this field in production clients.
        available:
          type: number
          description: Available credits, when returned for credit errors.
        required:
          type: number
          description: Required credits, when returned for credit errors.
        retryAfterSeconds:
          type: integer
          description: Retry delay, when returned for hourly cap errors.
    RunStatus:
      type: string
      enum:
        - pending
        - running
        - completed
        - failed
        - cancelled
    RunResult:
      type: object
      additionalProperties: true
      description: >-
        Final agent output. Completed runs commonly include `text`;
        agent-creation runs also include `agent_id`.
      properties:
        agent_id:
          type: string
          format: uuid
          description: New agent ID when a `POST /v1/agents` creation run completes.
        agent_name:
          type: string
        text:
          type: string
          description: >-
            Terminal result text. When the agent recorded a session summary,
            this is that summary JSON. Otherwise it is the full assistant
            transcript. Use `raw_output=true` on GET to prefer `chat_text`.
        chat_text:
          type: string
          description: >-
            Full assistant transcript when it differs from `text`. Present on
            newly completed runs that also stored a session summary. Historical
            runs may omit this field.
        artifacts:
          type: array
          items:
            $ref: '#/components/schemas/Artifact'
    Usage:
      type: object
      required:
        - credits
      properties:
        credits:
          type: number
          description: Credits attributed to this Developer API run.
    RunError:
      type: object
      required:
        - code
      properties:
        code:
          type: string
          description: Stable machine-readable failure code.
    Artifact:
      type: object
      additionalProperties: true
      properties:
        id:
          type: string
        title:
          type: string
        type:
          type: string
        url:
          oneOf:
            - type: string
              format: uri
            - type: 'null'
          description: >-
            Short-lived download URL issued when fetching a run. `null` when the
            artifact has no durable file or the key cannot be signed.
        url_expires_at:
          type: string
          format: date-time
          description: Expiry of `url`. Omitted when `url` is null.
  responses:
    AsyncInvalidInput:
      description: >-
        Invalid async run request shape, invalid UUID, unsupported field,
        unsupported model, or oversized input.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            invalidInput:
              value:
                error: INVALID_INPUT
            modelNotSupported:
              value:
                error: MODEL_NOT_SUPPORTED
    AuthenticationRequired:
      description: Missing, malformed, revoked, or unknown Account API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            missingKey:
              value:
                error: AUTHENTICATION_REQUIRED
    InsufficientCredits:
      description: Account does not have enough credits to start the run.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            insufficientCredits:
              value:
                error: INSUFFICIENT_CREDITS
                available: 0
                required: 1000
    AccountBlocked:
      description: >-
        Account is blocked from starting new runs, or the selected model is
        blocked by plan or entitlement access.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            accountBlocked:
              value:
                error: ACCOUNT_BLOCKED
            modelNotAllowed:
              value:
                error: MODEL_NOT_ALLOWED
    RateLimited:
      description: Account-level or IP-level rate limit exceeded.
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            rateLimited:
              value:
                error: RATE_LIMITED
    ServiceUnavailable:
      description: Agent execution service was unavailable before the run was accepted.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            unavailable:
              value:
                error: SERVICE_UNAVAILABLE
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: cr_sk
      description: Account API key from Developer Console. Keys start with `cr_sk_`.
      x-default: cr_sk_your_key_here
    apiKeyQuery:
      type: apiKey
      in: query
      name: creao-api-key
      description: |
        Account API key passed as a query parameter, for platforms that cannot
        set a custom Authorization header. The bearerAuth header takes
        precedence when both are present.
      x-default: cr_sk_your_key_here

````