Traces

Update an existing "simple" trace.

Supplied fields overwrite the existing trace. Fields not present in the request body are left unchanged. data is required (the payload being recorded); tags, meta, references, and links are optional.

This endpoint is intended for annotations and feedback entries, where the data.outputs is the part that typically gets revised. For span-level edits, use PUT /tracing/traces/{trace_id}.

patch/simple/traces/{trace_id}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/simple/traces/{trace_id}
  • Auth
    API key in header Authorization

Path parameters

trace_idstring required

Request body

Response

Successful Response

countinteger

1 if the trace was returned, 0 otherwise.

Changes

    • info

      added the new optional request property ///

    • info

      added the new optional request property ///

    • info

      added the new optional request property ///

    • info

      added the new optional request property ///

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • warning

      removed the request property ///

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status