# 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

1. [Create Genesis credentials](../../guides/genesis/api-keys.md#creating-and-managing-personal-access-tokens).
2. [List models](../../reference/api/genesis/models.md) and obtain the model ID to use from the response.
3. Open [Genesis](genesis/index.md) 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

1. Create a personal access token on the [Access credentials](../../guides/billing/credentials.md) page.
2. [List workspaces](../../reference/api/ai-studio/workspaces/list-workspaces.md) and obtain the target workspace ID from the response.
3. Open [AI Studio](ai-studio/index.md) 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](../quickstart/genesis/index.md).
- To construct a request field by field, open the matching page in [API Reference](../../reference/api/index.md).
