Traces

Update trace sharing

Changed on

Set public-sharing metadata for a trace ID. This operation upserts the sharing record and returns 200 when is_public is supplied; it does not first verify that trace spans exist.

patch/api/traces/{trace_unique_id}/

Request

  • Base URL
    https://api.respan.ai
  • URL
    https://api.respan.ai/api/traces/{trace_unique_id}/
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

trace_unique_idstring required

Unique trace identifier.

Request body

is_publicboolean required

Set true to make the trace public, or false to revoke public access.

Example request

{
  "is_public": true
}

Response

Trace sharing state updated.

trace_unique_idstring required
is_publicboolean required

Changes

    • breaking

      request body became required

    • info

      api operation id traces_shareTrace removed and replaced with shareTrace

    • info

      the endpoint scheme security DashboardJwt was added to the API

    • info

      api tag Traces added

    • info

      api tag traces removed

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status