trajectories

Create Trajectory Route

Reuse a session-key trajectory; otherwise authenticate and create a new trajectory.

post/api/v1/trajectories

Headers

Idempotency-Keystring nullable
X-API-Keystring nullable

Request body

agent_idstring nullable

Optional agent ID to associate with the trajectory. When omitted for a new trajectory, no agent is assigned. When a Model Endpoint session token references an existing trajectory, omitting this field leaves its existing agent association unchanged.

Response

Successful Response

tidstring required

ID of the created or existing trajectory.

Changes

Changed in 3 of the 26 revisions of this API.16

  • ae26a0c95c4312See the full diff
    • ●

      deleted the header request parameter x-model-endpoint-access-token

      request-parameter-removed

    • ○

      the endpoint scheme security ModelEndpointAccessToken was removed from the API

      api-security-removed

    • ○

      added the new optional header request parameter X-API-Key

      new-optional-request-parameter

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      the endpoint scheme security ModelEndpointAccessToken was added to the API

      api-security-added

    • ○

      added the new optional header request parameter x-model-endpoint-access-token

      new-optional-request-parameter

    • ○

      added optional request body

      request-body-added-optional

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      endpoint added

      endpoint-added