ErrorResponse

Standard error response format (Contract v1.0).

Capability execution errors return HTTP 200 with status='error' to enable structured error handling by AI agents.

  • error_code
    Type: string · ErrorCodeenum
    required

    Machine-readable error code for programmatic handling

    values
    • CAPABILITY_NOT_FOUND
    • CREDENTIALS_MISSING
    • CREDENTIALS_INVALID
    • CREDENTIALS_INSUFFICIENT
    • RATE_LIMIT
  • error_message
    Type: string · Error Message
    required

    Human-readable error description

  • retry_strategy
    Type: string · RetryStrategyenum
    required

    Recommended retry strategy for this error type

    values
    • human_intervention
    • backoff
    • none
  • capability_key
    Type: string · Capability Keynullable

    The capability that was being executed (if applicable)

  • details
    Type: object · Details

    Additional error context (e.g., field, service)

    • propertyName
      Type: anything
  • status
    Type: string · Status

    Always 'error' for error responses

  • timestamp
    Type: string · TimestampFormat: date-time

    When the error occurred (UTC)