GET
/
api
/
public
/
traces
/
{traceId}
{
  "id": "<string>",
  "timestamp": "<string>",
  "name": "<string>",
  "input": null,
  "output": null,
  "sessionId": "<string>",
  "release": "<string>",
  "version": "<string>",
  "userId": "<string>",
  "metadata": null,
  "tags": [
    {}
  ],
  "public": true,
  "htmlPath": "<string>",
  "latency": 123,
  "totalCost": 123,
  "observations": [
    {
      "id": "<string>",
      "traceId": "<string>",
      "type": "<string>",
      "name": "<string>",
      "startTime": "<string>",
      "endTime": "<string>",
      "completionStartTime": "<string>",
      "model": "<string>",
      "modelParameters": {
        "property1": "<string>",
        "property2": "<string>"
      },
      "input": {},
      "version": "<string>",
      "metadata": {},
      "output": {},
      "usage": {
        "input": 123,
        "output": 123,
        "total": 123,
        "unit": "<string>",
        "inputCost": 123,
        "outputCost": 123,
        "totalCost": 123
      },
      "level": "<string>",
      "statusMessage": "<string>",
      "parentObservationId": "<string>",
      "promptId": "<string>",
      "usageDetails": {
        "property1": 123,
        "property2": 123
      },
      "costDetails": {
        "property1": 123,
        "property2": 123
      },
      "promptName": "<string>",
      "promptVersion": 123,
      "modelId": "<string>",
      "inputPrice": 123,
      "outputPrice": 123,
      "totalPrice": 123,
      "calculatedInputCost": 123,
      "calculatedOutputCost": 123,
      "calculatedTotalCost": 123,
      "latency": 123,
      "timeToFirstToken": 123
    }
  ],
  "scores": [
    {
      "dataType": "<string>",
      "id": "<string>",
      "traceId": "<string>",
      "name": "<string>",
      "source": "<string>",
      "observationId": "<string>",
      "timestamp": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "authorUserId": "<string>",
      "comment": "<string>",
      "configId": "<string>",
      "queueId": "<string>",
      "value": 123
    }
  ]
}

Response Description

Below you will see the description of the create dataset response

id
string
required

Unique identifier for the entity.

timestamp
Date
required

Timestamp indicating the creation or event time.

name
string
required

Name of the entity.

input
null

Input data associated with the entity (optional).

output
null

Output data associated with the entity (optional).

sessionId
string
required

Identifier for the session associated with the entity.

release
string
required

Release version of the entity.

version
string
required

Version of the entity.

userId
string
required

Identifier for the user associated with the entity.

metadata
null

Metadata associated with the entity (optional).

tags
array
required

List of tags associated with the entity.

public
boolean
required

Indicates if the entity is public.

htmlPath
string

Path to the HTML representation of the entity (optional).

latency
integer
required

Latency of the process in milliseconds.

totalCost
integer
required

Total cost associated with the process.

observations
array

List of observations associated with the entity.

scores
array

List of scores associated with the entity.

Code Response

Exemples of Response Code

200

Request Successful Response

400

Request Failure