--- title: List Scopes | Luma Agents --- GET /v1/scopes Select code samplecURL (shell:curl) ```js const url = 'https://agents.lumalabs.ai/v1/scopes?limit=25'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```sh curl --request GET \ --url 'https://agents.lumalabs.ai/v1/scopes?limit=25' \ --header 'Authorization: Bearer ' ``` - Productionagents.lumalabs.ai/v1/scopes Keyset-paginated list of scopes visible to this tenant, newest first. ## Authorizations - **[BearerAuth](/api/agents/index.md#bearerauth)** ## Parameters ### Query Parameters **limit** *Limit* integer default: 25 >= 1 <= 100 **cursor** Any of: - [string](#tab-panel-0-0) - [null](#tab-panel-0-1) string null Opaque token from a previous page's next\_cursor. ## Responses ### 200 Successful Response Media typeapplication/json *ListScopesResponse* Keyset-paginated scope list (GET /v1/scopes). No total count: a partner with many workspaces shouldn't pay for a `count()` per page. `next_cursor` is opaque — pass it back unchanged. object **data** required *Data* Array\ *ScopeResponse* object **client\_id** required *Client Id* string **client\_key** Any of: - [string](#tab-panel-1-0) - [null](#tab-panel-1-1) string null **config** Any of: - [object](#tab-panel-2-0) - [null](#tab-panel-2-1) object ***key*** additional properties any null **created\_at** required *Created At* string format: date-time **display\_name** Any of: - [string](#tab-panel-3-0) - [null](#tab-panel-3-1) string null **expires\_at** Any of: - [string](#tab-panel-4-0) - [null](#tab-panel-4-1) string format: date-time null **replayed** *Replayed* True when a create re-posted an existing key and this is the scope that key already names. boolean **scope\_id** required *Scope Id* UUID identifying this scope. Pass as scope\_id when creating sessions. string **state** required *State* string **tenant\_id** Any of: - [string](#tab-panel-5-0) - [null](#tab-panel-5-1) string null **has\_more** required *Has More* boolean **next\_cursor** Any of: - [string](#tab-panel-6-0) - [null](#tab-panel-6-1) string null ##### Example ```json { "data": [ { "replayed": false } ] } ``` ### 422 Validation Error Media typeapplication/json *HTTPValidationError* object **detail** *Detail* Array\ *ValidationError* object **ctx** *Context* object **input** *Input* **loc** required *Location* Array **msg** required *Message* string **type** required *Error Type* string ##### Examplegenerated ```json { "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ] } ```