v27

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-22216424765.0 KB
gateway.openapi_Gateway

Create Trail

post/v1/accounts/{account_id}/trails

Path parameters

account_idstring required

The Account Id

Query parameters

trailIdstring

Optional ID for the trail. If not specified, a random UUID will be generated.

Request body

namestring
displayNamestring
createTimestring date-time
descriptionstring
createdBystring
langfuseConfigstring

Langfuse configuration for this trail, inherited from the account at creation time. Contains API credentials for a Project within the customer's Langfuse Organization. Serialized JSON format: {"public_key":"pk-lf-xxx","secret_key":"sk-lf-xxx","host":"https://langfuse-prod.fireworks.ai"} If empty, the default Langfuse Organization/Project will be used.

Response

A successful response.

namestring
displayNamestring
createTimestring date-time
descriptionstring
createdBystring
langfuseConfigstring

Langfuse configuration for this trail, inherited from the account at creation time. Contains API credentials for a Project within the customer's Langfuse Organization. Serialized JSON format: {"public_key":"pk-lf-xxx","secret_key":"sk-lf-xxx","host":"https://langfuse-prod.fireworks.ai"} If empty, the default Langfuse Organization/Project will be used.