API reference¶
Use HTTP to call Genesis models or manage AI Studio workspace resources. The two APIs use different service addresses, credentials, and resource scopes. Confirm the target API before calling it.
Choose an API¶
Goal |
API |
Next step |
|---|---|---|
Call models, create embeddings, rerank results, or receive streaming output |
Use Genesis model capabilities from an application. |
|
Manage workspaces, data, workflows, knowledge bases, or agents |
Operate AI Studio resources. |
Genesis model calls are not scoped to an AI Studio workspace. Do not mix the service addresses, authentication headers, or credentials for the two APIs.
API, SDK, and CLI boundaries¶
Use an API to call a service directly from any HTTP-capable language or runtime.
Use an SDK to call a service from an application through a language client.
Use the CLI to run AI Studio tasks from a terminal or automation script.