Create Bid Session
Create a session with a provider using a bid ID and associate it with the API key. This endpoint creates a session and automatically associates it with the API key used for authentication. Each API key can have at most one active session at a time.
Authorization
Authorization
<token>Provide the API key in either format: 'Bearer sk-xxxxxx.yyyyyyy' or just 'sk-xxxxxx.yyyyyyy'. The prefix is 9 characters long including 'sk-'.
In: header
Request Body
application/json
RequiredsessionDuration
Sessionduration3600
directPayment
Directpaymentfalse
failover
Failoverfalse
Query Parameters
bid_id
RequiredBid IdThe blockchain ID (hex) of the bid to create a session for
Response Body
Successful Response
TypeScript Definitions
Use the response body type in TypeScript.
response
RequiredunknownHow is this guide?
Close Session POST
Close the session associated with the current API key.
Create Model Session POST
Create a session with a provider using a model ID and associate it with the API key. This endpoint creates a session and automatically associates it with the API key used for authentication. Each API key can have at most one active session at a time.