Prepare to call an API¶
Choose the service you need, then use the links below to obtain credentials, a model, or workspace information before opening a specific API page. Genesis and AI Studio use different service addresses and authentication headers; never mix them in one request.
Call a Genesis model¶
List models and obtain the model ID to use from the response.
Open Genesis and choose text generation, embeddings, or reranking.
Genesis requests use Authorization: Bearer <credential> and do not need a workspace ID.
Manage AI Studio workspace resources¶
Create a personal access token on the Access credentials page.
List workspaces and obtain the target workspace ID from the response.
Open AI Studio and choose the workspace resource to manage.
AI Studio requests use X-API-Key; workspace-scoped actions also require X-Workspace-ID.
Continue reading¶
For a complete Genesis walkthrough, see Call Genesis models.
To construct a request field by field, open the matching page in API Reference.