Get Identity

HTTP Requestarrow-up-right

GET https://app.0xIQ.ai/api/v2/identity

Query Parametersarrow-up-right

Parameter
Type
Description

search

Optional

A search term to filter identities by name

page

Optional

Page number for pagination. Defaults to 1 if not provided

HTTP Responsearrow-up-right

{
    "success": true,
    "items": [
        {
            "id": "<string>",
            "name": "<string>",
            "created_at": "2024-01-01T00:00:00.000Z",
            "updated_at": "2024-01-01T00:00:00.000Z"
        }
        // ... more identity objects
    ]
}

Response Fieldsarrow-up-right

Field
Type
Description

success

boolean

Indicates whether the operation was successful

items

array

An array of identity objects

id

string

Unique identifier for the identity

name

string

The name of the identity

created_at

string

Timestamp of when the identity was created

updated_at

string

Timestamp of when the identity was last updated

Replace YOUR_API_KEY with your actual 0xIQ AI API key.

The API returns paginated results. You can specify the page number using the page query parameter. Each page contains a fixed number of items (typically 20, but this may vary).

  • The response is ordered by creation date, with the most recently created identities appearing first.

  • If no identities match the search criteria or if there are no identities on the specified page, an empty items array will be returned.

  • For performance reasons, there may be a limit to the total number of pages or results that can be retrieved. If you need to access a large number of identities, consider using more specific search terms or implementing a date-based filtering strategy.

Last updated