GET
/
get
/
metrics
/
{request_id}
curl --request GET \
  --url https://http.llm.proxy.prod.s9t.link/get/metrics/{request_id} \
  --header 'Authorization: Bearer <token>'
{
  "input_tokens": 41,
  "output_tokens": 758,
  "time_taken": 1.25,
  "time_after_first_token": 1.21
}

Authorizations

Authorization
string
header
required

JWT token for authentication

Path Parameters

request_id
string
required

The ID of the chat completion request

Response

200
application/json
Successful metrics retrieval
input_tokens
integer
required

Number of input tokens processed

Example:

41

output_tokens
integer
required

Number of tokens generated

Example:

758

time_taken
number
required

Total processing time in seconds

Example:

1.25

time_after_first_token
number

Time taken after first token generation

Example:

1.21