All pages
Powered by GitBook
1 of 1

Loading...

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
403
Forbidden
text/plain
415
Unsupported content type, only gzipped protobuf and pandas-arrow are supported
text/plain
422
Unprocessable Entity
text/plain
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
403
Forbidden
text/plain
404
Not Found
text/plain
422
Validation Error
application/json
get
GET /v1/evaluations HTTP/1.1
Host: 
Accept: */*

No content