Traces

REST API methods for interacting with Phoenix traces

Add span, trace, or document evaluations

post
Header parameters
content-typeany ofOptional
stringOptional
or
nullOptional
content-encodingany ofOptional
stringOptional
or
nullOptional
Body
string · binaryOptional
Responses
204
Successful Response
post
POST /v1/evaluations HTTP/1.1
Host: 
Content-Type: application/x-protobuf
Accept: */*
Content-Length: 8

"binary"

No content

Get span, trace, or document evaluations from a project

get
Query parameters
project_nameany ofOptional

The name of the project to get evaluations from (if omitted, evaluations will be drawn from the default project)

stringOptional
or
nullOptional
Responses
200
Successful Response
application/json
Responseany
get
GET /v1/evaluations HTTP/1.1
Host: 
Accept: */*

No content

Last updated

Was this helpful?