Session
Create Model Session
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.
post/api/v1/session/modelsession
Query parameters
model_idstring required
The blockchain ID (hex) of the model to create a session for
The blockchain ID (hex) of the model to create a session for
Request body
Response
Successful Response
{"stackTrail":"paths:/api/v1/session/modelsession:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}