Sessions
Get session cost
Changed onReturns the finalized cost of a released session as an exact amount in US dollars (e.g. 0.031905), suitable for precise billing passthrough.
get/v1/sessions/{id}/cost
Request
- Base URLhttps://api.steel.dev
- URLhttps://api.steel.dev/v1/sessions/{id}/cost
- Auth
- API key in header steel-api-key
- or none
Path parameters
idstring uuid required
Response
Session cost breakdown in US dollars
Changes
- breaking
the
response's property type changed fromintegertonumberfor status - warning
added the new
dollarenum value to theresponse property for the response status - info
removed the
centenum value from theresponse property for the response status
- breaking
- info
endpoint added
- info