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

# Create Feedback

> Share feedback, suggestions, or observations about Trajectory's API, SDK, documentation, or workflow. A free-text message or any substantive report detail is enough. Structured details and category are optional; custom category labels are accepted. Text fields are trimmed before validation. Limits are measured in characters: message 2,000; summary, operation, and outcome 200 each; category 64; goal, expected_behavior, actual_behavior, and workaround 1,000 each; sdk_version 100. request_ids and resource_ids each accept at most 10 IDs of 1–200 characters. At least one of message, summary, goal, expected_behavior, actual_behavior, or workaround must contain non-whitespace text. Invalid reports return 422 before quota consumption or delivery. These bounds keep reports within the Slack message layout limits. Organizations may submit 10 attempts per one-hour window, including failed deliveries. Exclude credentials and private conversation contents. Success confirms delivery to the Trajectory team. Reports are not deduplicated; do not automatically retry a submission.



## OpenAPI

````yaml /openapi.json post /api/v1/feedback
openapi: 3.1.0
info:
  title: Trajectory API
  version: 0.1.0
  x-trajectory-api-version: '2026-10-14'
  description: >-
    This contract is API version 2026-10-14. The optional Trajectory-API-Version
    header pins it, and tmp-contract is accepted as an alias. Requests without
    the header get this version. Version 2026-10-07 and the pre-launch legacy
    response formats are retired.
servers:
  - url: https://api.trajectory.ai
security: []
tags:
  - name: agents
    x-group: Agents
  - name: benchmarks
    x-group: Specs (benchmarks)
  - name: diagnostics
    x-group: Diagnostics
  - name: benchmark-ingestion
    x-group: Spec (benchmark) submissions
  - name: eval
    x-group: Evaluations
  - name: training
    x-group: Training
  - name: deployments
    x-group: Deployments
  - name: model-endpoints
    x-group: Model endpoints
  - name: inference
    x-group: Inference
  - name: trajectories
    x-group: Trajectories
  - name: artifacts
    x-group: Artifacts
  - name: telemetry
    x-group: Telemetry
  - name: supported-models
    x-group: Supported models
  - name: organizations
    x-group: Organizations
  - name: secrets
    x-group: Secrets
paths:
  /api/v1/feedback:
    post:
      tags:
        - feedback
      summary: Create Feedback
      description: >-
        Share feedback, suggestions, or observations about Trajectory's API,
        SDK, documentation, or workflow. A free-text message or any substantive
        report detail is enough. Structured details and category are optional;
        custom category labels are accepted. Text fields are trimmed before
        validation. Limits are measured in characters: message 2,000; summary,
        operation, and outcome 200 each; category 64; goal, expected_behavior,
        actual_behavior, and workaround 1,000 each; sdk_version 100. request_ids
        and resource_ids each accept at most 10 IDs of 1–200 characters. At
        least one of message, summary, goal, expected_behavior, actual_behavior,
        or workaround must contain non-whitespace text. Invalid reports return
        422 before quota consumption or delivery. These bounds keep reports
        within the Slack message layout limits. Organizations may submit 10
        attempts per one-hour window, including failed deliveries. Exclude
        credentials and private conversation contents. Success confirms delivery
        to the Trajectory team. Reports are not deduplicated; do not
        automatically retry a submission.
      operationId: submitFeedback
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitFeedbackRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitFeedbackResponse'
        '502':
          description: A Trajectory-managed upstream service returned an unusable response.
          headers:
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
            Trajectory-Should-Retry:
              $ref: '#/components/headers/TrajectoryShouldRetry'
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpstreamErrorResponse'
        '503':
          description: Trajectory or one of its dependencies is temporarily unavailable.
          headers:
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
            Trajectory-Should-Retry:
              $ref: '#/components/headers/TrajectoryShouldRetry'
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableErrorResponse'
        '504':
          description: A Trajectory-managed upstream service did not respond in time.
          headers:
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
            Trajectory-Should-Retry:
              $ref: '#/components/headers/TrajectoryShouldRetry'
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpstreamTimeoutErrorResponse'
        default:
          $ref: '#/components/responses/ApiErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    SubmitFeedbackRequest:
      properties:
        message:
          anyOf:
            - type: string
              maxLength: 2000
            - type: 'null'
          title: Message
          description: Free-form feedback, up to 2,000 characters.
        category:
          anyOf:
            - type: string
              maxLength: 64
            - type: 'null'
          title: Category
          description: >-
            Optional label, up to 64 characters. Suggested categories are bug,
            docs, feature_request, and friction; custom labels are accepted.
        summary:
          anyOf:
            - type: string
              maxLength: 200
            - type: 'null'
          title: Summary
          description: Short report title, up to 200 characters.
        expected_behavior:
          anyOf:
            - type: string
              maxLength: 1000
            - type: 'null'
          title: Expected Behavior
          description: What was expected, up to 1,000 characters.
        actual_behavior:
          anyOf:
            - type: string
              maxLength: 1000
            - type: 'null'
          title: Actual Behavior
          description: What happened, up to 1,000 characters.
        workaround:
          anyOf:
            - type: string
              maxLength: 1000
            - type: 'null'
          title: Workaround
          description: Workaround used, up to 1,000 characters.
        goal:
          anyOf:
            - type: string
              maxLength: 1000
            - type: 'null'
          title: Goal
          description: Task the agent was trying to complete, up to 1,000 characters.
        operation:
          anyOf:
            - type: string
              maxLength: 200
            - type: 'null'
          title: Operation
          description: Affected API or SDK operation, up to 200 characters.
        outcome:
          anyOf:
            - type: string
              maxLength: 200
            - type: 'null'
          title: Outcome
          description: Task outcome, up to 200 characters; custom labels are accepted.
        sdk_version:
          anyOf:
            - type: string
              maxLength: 100
            - type: 'null'
          title: Sdk Version
          description: Calling SDK version, up to 100 characters.
        request_ids:
          items:
            type: string
            maxLength: 200
            minLength: 1
          type: array
          maxItems: 10
          title: Request Ids
          description: >-
            Up to 10 related request IDs, each containing 1–200 characters after
            trimming whitespace.
        resource_ids:
          items:
            type: string
            maxLength: 200
            minLength: 1
          type: array
          maxItems: 10
          title: Resource Ids
          description: >-
            Up to 10 related resource IDs, each containing 1–200 characters
            after trimming whitespace.
      additionalProperties: false
      type: object
      title: SubmitFeedbackRequest
    SubmitFeedbackResponse:
      properties:
        id:
          type: string
          title: Id
      type: object
      required:
        - id
      title: SubmitFeedbackResponse
    UpstreamErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/UpstreamErrorBody'
      type: object
      required:
        - error
      title: UpstreamErrorResponse
    ServiceUnavailableErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ServiceUnavailableErrorBody'
      type: object
      required:
        - error
      title: ServiceUnavailableErrorResponse
    UpstreamTimeoutErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/UpstreamTimeoutErrorBody'
      type: object
      required:
        - error
      title: UpstreamTimeoutErrorResponse
    UpstreamErrorBody:
      properties:
        type:
          type: string
          const: dependency_error
          title: Type
        code:
          type: string
          const: upstream_error
          title: Code
        message:
          type: string
          title: Message
        param:
          anyOf:
            - type: string
            - type: 'null'
          title: Param
        doc_url:
          type: string
          title: Doc Url
        context:
          $ref: '#/components/schemas/EmptyErrorContext'
      type: object
      required:
        - type
        - code
        - message
        - doc_url
        - context
      title: UpstreamErrorBody
    ServiceUnavailableErrorBody:
      properties:
        type:
          type: string
          const: dependency_error
          title: Type
        code:
          type: string
          const: service_unavailable
          title: Code
        message:
          type: string
          title: Message
        param:
          anyOf:
            - type: string
            - type: 'null'
          title: Param
        doc_url:
          type: string
          title: Doc Url
        context:
          $ref: '#/components/schemas/EmptyErrorContext'
      type: object
      required:
        - type
        - code
        - message
        - doc_url
        - context
      title: ServiceUnavailableErrorBody
    UpstreamTimeoutErrorBody:
      properties:
        type:
          type: string
          const: dependency_error
          title: Type
        code:
          type: string
          const: upstream_timeout
          title: Code
        message:
          type: string
          title: Message
        param:
          anyOf:
            - type: string
            - type: 'null'
          title: Param
        doc_url:
          type: string
          title: Doc Url
        context:
          $ref: '#/components/schemas/EmptyErrorContext'
      type: object
      required:
        - type
        - code
        - message
        - doc_url
        - context
      title: UpstreamTimeoutErrorBody
    ApiErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/ApiErrorBody'
      required:
        - error
      title: ApiErrorEnvelope
      type: object
    EmptyErrorContext:
      properties: {}
      additionalProperties: false
      type: object
      title: EmptyErrorContext
    ApiErrorBody:
      properties:
        type:
          $ref: '#/components/schemas/ErrorType'
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
        param:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Param
        doc_url:
          type: string
          title: Doc Url
        context:
          additionalProperties: true
          title: Context
          type: object
      required:
        - type
        - code
        - message
        - doc_url
        - context
      title: ApiErrorBody
      type: object
    ErrorType:
      enum:
        - invalid_request_error
        - authentication_error
        - permission_error
        - conflict_error
        - billing_error
        - rate_limit_error
        - dependency_error
        - api_error
      title: ErrorType
      type: string
  headers:
    RequestId:
      schema:
        type: string
    TrajectoryShouldRetry:
      schema:
        type: boolean
    RetryAfter:
      schema:
        type: string
  responses:
    ApiErrorResponse:
      description: >-
        Common API error. Possible codes: `authentication_required`,
        `permission_denied`, `validation_error`, `rate_limited`,
        `internal_error`, `service_unavailable`.
      headers:
        X-Request-ID:
          $ref: '#/components/headers/RequestId'
        Trajectory-Should-Retry:
          $ref: '#/components/headers/TrajectoryShouldRetry'
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiErrorEnvelope'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Organization API key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.