---
title: "Search a dataset's AI runs"
description: "Runs (traces with GenAI spans) that started in [from, to) and match every filter, sorted by sort (startTime by default, newest first). A filter matches a run when any of its spans has the value. With text, only runs whose content has every word of it, each with a match: the first hit's span, field and a snippet of at most 200 characters; text needs obs.genai.readContent as well. Page with nextCursor (send only cursor and limit). 422 query_too_expensive over the read budget. 404 while AI Center isn't offered."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Observability API

`POST /v1/organizations/{orgId}/projects/{projectId}/obs/datasets/{datasetId}/genai/runs/search`

Runs (traces with GenAI spans) that started in [from, to) and match every filter, sorted by sort (startTime by default, newest first). A filter matches a run when any of its spans has the value. With text, only runs whose content has every word of it, each with a match: the first hit's span, field and a snippet of at most 200 characters; text needs obs.genai.readContent as well. Page with nextCursor (send only cursor and limit). 422 query_too_expensive over the read budget. 404 while AI Center isn't offered.

## Authentication

Requires one of the following:

- `apiKey`, http, header `Authorization`
- `oauth`, http, header `Authorization`
- `sessionCookie`, apiKey, in cookie

## Path parameters

- `SearchGenAIRuns.path.orgId` (string, required) — UUID or prefixed ID (org_…)
- `SearchGenAIRuns.path.projectId` (string, required) — UUID or prefixed ID (prj_…)
- `SearchGenAIRuns.path.datasetId` (string, required) — UUID or prefixed ID (dst_…)

## Request body

_Required._

- `SearchGenAIRuns.cursor` (string, optional)
- `SearchGenAIRuns.filters` (object, optional)
  - `SearchGenAIRuns.filters.agent` (string, optional)
    - minLength 1; maxLength 256
  - `SearchGenAIRuns.filters.conversationId` (string, optional)
    - minLength 1; maxLength 256
  - `SearchGenAIRuns.filters.environment` (string, optional)
    - minLength 1; maxLength 256
  - `SearchGenAIRuns.filters.model` (string, optional)
    - minLength 1; maxLength 256
  - `SearchGenAIRuns.filters.provider` (string, optional)
    - minLength 1; maxLength 256
  - `SearchGenAIRuns.filters.service` (string, optional)
    - minLength 1; maxLength 256
  - `SearchGenAIRuns.filters.status` (string, optional)
    - one of `"ok"`, `"error"`
  - `SearchGenAIRuns.filters.tool` (string, optional)
    - minLength 1; maxLength 256
- `SearchGenAIRuns.from` (string, optional) — UTC, millisecond precision: 2026-10-02T10:20:00.000Z.
  - format `date-time`
- `SearchGenAIRuns.limit` (integer, optional)
  - min 1; max 100; default `25`
- `SearchGenAIRuns.order` (string, optional)
  - one of `"desc"`, `"asc"`; default `"desc"`
- `SearchGenAIRuns.sort` (string, optional)
  - one of `"startTime"`, `"tokens"`, `"duration"`, `"errors"`; default `"startTime"`
- `SearchGenAIRuns.text` (string, optional) — Words the content must all hold. Needs obs.genai.readContent.
  - minLength 1; maxLength 1024
- `SearchGenAIRuns.to` (string, optional) — UTC, millisecond precision: 2026-10-02T10:20:00.000Z.
  - format `date-time`

## Example request

```json
{
  "cursor": "string",
  "filters": {
    "agent": "string",
    "conversationId": "string",
    "environment": "string",
    "model": "string",
    "provider": "string",
    "service": "string",
    "status": "ok",
    "tool": "string"
  },
  "from": "2019-08-24T14:15:22Z",
  "limit": 25,
  "order": "desc",
  "sort": "startTime",
  "text": "string",
  "to": "2019-08-24T14:15:22Z"
}
```

## Code samples

### cURL

```curl
curl --request POST \
  --url https://obs.ezghcloud.com/v1/organizations/string/projects/string/obs/datasets/string/genai/runs/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cursor": "string",
  "filters": {
    "agent": "string",
    "conversationId": "string",
    "environment": "string",
    "model": "string",
    "provider": "string",
    "service": "string",
    "status": "ok",
    "tool": "string"
  },
  "from": "2019-08-24T14:15:22Z",
  "limit": 25,
  "order": "desc",
  "sort": "startTime",
  "text": "string",
  "to": "2019-08-24T14:15:22Z"
}
'
```

### TypeScript

```typescript
const url = 'https://obs.ezghcloud.com/v1/organizations/string/projects/string/obs/datasets/string/genai/runs/search';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json', Authorization: 'Bearer <token>'},
  body: JSON.stringify({
    cursor: 'string',
    filters: {
      agent: 'string',
      conversationId: 'string',
      environment: 'string',
      model: 'string',
      provider: 'string',
      service: 'string',
      status: 'ok',
      tool: 'string'
    },
    from: '2019-08-24T14:15:22Z',
    limit: 25,
    order: 'desc',
    sort: 'startTime',
    text: 'string',
    to: '2019-08-24T14:15:22Z'
  })
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://obs.ezghcloud.com/v1/organizations/string/projects/string/obs/datasets/string/genai/runs/search"

payload = {
    "cursor": "string",
    "filters": {
        "agent": "string",
        "conversationId": "string",
        "environment": "string",
        "model": "string",
        "provider": "string",
        "service": "string",
        "status": "ok",
        "tool": "string"
    },
    "from": "2019-08-24T14:15:22Z",
    "limit": 25,
    "order": "desc",
    "sort": "startTime",
    "text": "string",
    "to": "2019-08-24T14:15:22Z"
}
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer <token>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

A page of runs.

#### Example

```json
{
  "nextCursor": "string",
  "runs": [
    {
      "agent": "string",
      "cacheReadTokens": 0,
      "cacheWriteTokens": 0,
      "conversationId": "string",
      "durationMs": 0,
      "errors": 0,
      "inputTokens": 0,
      "llmCalls": 0,
      "match": {
        "field": "string",
        "snippet": "string",
        "spanId": "string"
      },
      "models": [
        "string"
      ],
      "outputTokens": 0,
      "startTime": "2019-08-24T14:15:22Z",
      "status": "ok",
      "toolCalls": 0,
      "traceId": "string"
    }
  ]
}
```

- `SearchGenAIRuns.response.200.nextCursor` (string | null, required)
- `SearchGenAIRuns.response.200.runs` (array<object>, required)
  - `SearchGenAIRuns.response.200.runs.agent` (string | null, required) — The root invoke_agent span's gen_ai.agent.name, else the earliest GenAI span's.
  - `SearchGenAIRuns.response.200.runs.cacheReadTokens` (integer, required)
  - `SearchGenAIRuns.response.200.runs.cacheWriteTokens` (integer, required)
  - `SearchGenAIRuns.response.200.runs.conversationId` (string | null, required)
  - `SearchGenAIRuns.response.200.runs.durationMs` (number, required)
  - `SearchGenAIRuns.response.200.runs.errors` (integer, required)
  - `SearchGenAIRuns.response.200.runs.inputTokens` (integer, required)
  - `SearchGenAIRuns.response.200.runs.llmCalls` (integer, required)
  - `SearchGenAIRuns.response.200.runs.match` (one of, required) — With text; null when no content field holds its first word as written.
    - one of: [GenAIMatch](/obs-api/schemas/GenAIMatch/), `null`
  - `SearchGenAIRuns.response.200.runs.models` (array<string>, required)
  - `SearchGenAIRuns.response.200.runs.outputTokens` (integer, required)
  - `SearchGenAIRuns.response.200.runs.startTime` (string, required) — UTC, millisecond precision: 2026-10-02T10:20:00.000Z.
    - format `date-time`
  - `SearchGenAIRuns.response.200.runs.status` (string, required)
    - one of `"ok"`, `"error"`
  - `SearchGenAIRuns.response.200.runs.toolCalls` (integer, required)
  - `SearchGenAIRuns.response.200.runs.traceId` (string, required)

### 400

invalid_request (with issues), invalid_cursor, or the endpoint's own 400 codes.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `SearchGenAIRuns.response.400.error` (object, required)
  - `SearchGenAIRuns.response.400.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `SearchGenAIRuns.response.400.error.message` (string, required)
    - maxLength 1024
  - `SearchGenAIRuns.response.400.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `SearchGenAIRuns.response.400.error.issues.message` (string, required)
    - `SearchGenAIRuns.response.400.error.issues.path` (string, required)
  - `SearchGenAIRuns.response.400.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `SearchGenAIRuns.response.400.error.quota.id` (string, required)
    - `SearchGenAIRuns.response.400.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `SearchGenAIRuns.response.400.error.quota.limit` (integer, required)
      - min 0
    - `SearchGenAIRuns.response.400.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `SearchGenAIRuns.response.400.error.quota.inFlight` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.400.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.400.error.quota.region` (string, optional)
    - `SearchGenAIRuns.response.400.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.400.error.quota.scopeResourceName` (string, optional)
    - `SearchGenAIRuns.response.400.error.quota.used` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.400.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 401

unauthenticated: no credential, or one that doesn't check out.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `SearchGenAIRuns.response.401.error` (object, required)
  - `SearchGenAIRuns.response.401.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `SearchGenAIRuns.response.401.error.message` (string, required)
    - maxLength 1024
  - `SearchGenAIRuns.response.401.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `SearchGenAIRuns.response.401.error.issues.message` (string, required)
    - `SearchGenAIRuns.response.401.error.issues.path` (string, required)
  - `SearchGenAIRuns.response.401.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `SearchGenAIRuns.response.401.error.quota.id` (string, required)
    - `SearchGenAIRuns.response.401.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `SearchGenAIRuns.response.401.error.quota.limit` (integer, required)
      - min 0
    - `SearchGenAIRuns.response.401.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `SearchGenAIRuns.response.401.error.quota.inFlight` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.401.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.401.error.quota.region` (string, optional)
    - `SearchGenAIRuns.response.401.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.401.error.quota.scopeResourceName` (string, optional)
    - `SearchGenAIRuns.response.401.error.quota.used` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.401.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 403

access_denied: the caller's policies don't allow the action; forbidden_origin: a cookie-authenticated write from an origin that isn't allowed; spend_limit_reached.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `SearchGenAIRuns.response.403.error` (object, required)
  - `SearchGenAIRuns.response.403.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `SearchGenAIRuns.response.403.error.message` (string, required)
    - maxLength 1024
  - `SearchGenAIRuns.response.403.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `SearchGenAIRuns.response.403.error.issues.message` (string, required)
    - `SearchGenAIRuns.response.403.error.issues.path` (string, required)
  - `SearchGenAIRuns.response.403.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `SearchGenAIRuns.response.403.error.quota.id` (string, required)
    - `SearchGenAIRuns.response.403.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `SearchGenAIRuns.response.403.error.quota.limit` (integer, required)
      - min 0
    - `SearchGenAIRuns.response.403.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `SearchGenAIRuns.response.403.error.quota.inFlight` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.403.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.403.error.quota.region` (string, optional)
    - `SearchGenAIRuns.response.403.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.403.error.quota.scopeResourceName` (string, optional)
    - `SearchGenAIRuns.response.403.error.quota.used` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.403.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 404

not_found: unknown, malformed, or in an organization the caller isn't in.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `SearchGenAIRuns.response.404.error` (object, required)
  - `SearchGenAIRuns.response.404.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `SearchGenAIRuns.response.404.error.message` (string, required)
    - maxLength 1024
  - `SearchGenAIRuns.response.404.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `SearchGenAIRuns.response.404.error.issues.message` (string, required)
    - `SearchGenAIRuns.response.404.error.issues.path` (string, required)
  - `SearchGenAIRuns.response.404.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `SearchGenAIRuns.response.404.error.quota.id` (string, required)
    - `SearchGenAIRuns.response.404.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `SearchGenAIRuns.response.404.error.quota.limit` (integer, required)
      - min 0
    - `SearchGenAIRuns.response.404.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `SearchGenAIRuns.response.404.error.quota.inFlight` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.404.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.404.error.quota.region` (string, optional)
    - `SearchGenAIRuns.response.404.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.404.error.quota.scopeResourceName` (string, optional)
    - `SearchGenAIRuns.response.404.error.quota.used` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.404.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 409

quota_exceeded (an allocation quota, with quota), idempotency_conflict, idempotency_in_progress (with Retry-After), organization_deletion_pending, operation_in_progress, or the endpoint's own 409 codes.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `SearchGenAIRuns.response.409.error` (object, required)
  - `SearchGenAIRuns.response.409.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `SearchGenAIRuns.response.409.error.message` (string, required)
    - maxLength 1024
  - `SearchGenAIRuns.response.409.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `SearchGenAIRuns.response.409.error.issues.message` (string, required)
    - `SearchGenAIRuns.response.409.error.issues.path` (string, required)
  - `SearchGenAIRuns.response.409.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `SearchGenAIRuns.response.409.error.quota.id` (string, required)
    - `SearchGenAIRuns.response.409.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `SearchGenAIRuns.response.409.error.quota.limit` (integer, required)
      - min 0
    - `SearchGenAIRuns.response.409.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `SearchGenAIRuns.response.409.error.quota.inFlight` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.409.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.409.error.quota.region` (string, optional)
    - `SearchGenAIRuns.response.409.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.409.error.quota.scopeResourceName` (string, optional)
    - `SearchGenAIRuns.response.409.error.quota.used` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.409.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 413

payload_too_large: the body is over the endpoint's limit (1 MiB unless it says otherwise).

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `SearchGenAIRuns.response.413.error` (object, required)
  - `SearchGenAIRuns.response.413.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `SearchGenAIRuns.response.413.error.message` (string, required)
    - maxLength 1024
  - `SearchGenAIRuns.response.413.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `SearchGenAIRuns.response.413.error.issues.message` (string, required)
    - `SearchGenAIRuns.response.413.error.issues.path` (string, required)
  - `SearchGenAIRuns.response.413.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `SearchGenAIRuns.response.413.error.quota.id` (string, required)
    - `SearchGenAIRuns.response.413.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `SearchGenAIRuns.response.413.error.quota.limit` (integer, required)
      - min 0
    - `SearchGenAIRuns.response.413.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `SearchGenAIRuns.response.413.error.quota.inFlight` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.413.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.413.error.quota.region` (string, optional)
    - `SearchGenAIRuns.response.413.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.413.error.quota.scopeResourceName` (string, optional)
    - `SearchGenAIRuns.response.413.error.quota.used` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.413.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 429

too_many_requests, with Retry-After; or quota_exceeded (a rate, usage or concurrency quota, with quota), never with Retry-After.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `SearchGenAIRuns.response.429.error` (object, required)
  - `SearchGenAIRuns.response.429.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `SearchGenAIRuns.response.429.error.message` (string, required)
    - maxLength 1024
  - `SearchGenAIRuns.response.429.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `SearchGenAIRuns.response.429.error.issues.message` (string, required)
    - `SearchGenAIRuns.response.429.error.issues.path` (string, required)
  - `SearchGenAIRuns.response.429.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `SearchGenAIRuns.response.429.error.quota.id` (string, required)
    - `SearchGenAIRuns.response.429.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `SearchGenAIRuns.response.429.error.quota.limit` (integer, required)
      - min 0
    - `SearchGenAIRuns.response.429.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `SearchGenAIRuns.response.429.error.quota.inFlight` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.429.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.429.error.quota.region` (string, optional)
    - `SearchGenAIRuns.response.429.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.429.error.quota.scopeResourceName` (string, optional)
    - `SearchGenAIRuns.response.429.error.quota.used` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.429.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 500

internal_error: a bug; the details are in the logs, under the request ID.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `SearchGenAIRuns.response.500.error` (object, required)
  - `SearchGenAIRuns.response.500.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `SearchGenAIRuns.response.500.error.message` (string, required)
    - maxLength 1024
  - `SearchGenAIRuns.response.500.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `SearchGenAIRuns.response.500.error.issues.message` (string, required)
    - `SearchGenAIRuns.response.500.error.issues.path` (string, required)
  - `SearchGenAIRuns.response.500.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `SearchGenAIRuns.response.500.error.quota.id` (string, required)
    - `SearchGenAIRuns.response.500.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `SearchGenAIRuns.response.500.error.quota.limit` (integer, required)
      - min 0
    - `SearchGenAIRuns.response.500.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `SearchGenAIRuns.response.500.error.quota.inFlight` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.500.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.500.error.quota.region` (string, optional)
    - `SearchGenAIRuns.response.500.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.500.error.quota.scopeResourceName` (string, optional)
    - `SearchGenAIRuns.response.500.error.quota.used` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.500.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 503

unavailable: a dependency the request needs is down. Retry after Retry-After.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `SearchGenAIRuns.response.503.error` (object, required)
  - `SearchGenAIRuns.response.503.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `SearchGenAIRuns.response.503.error.message` (string, required)
    - maxLength 1024
  - `SearchGenAIRuns.response.503.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `SearchGenAIRuns.response.503.error.issues.message` (string, required)
    - `SearchGenAIRuns.response.503.error.issues.path` (string, required)
  - `SearchGenAIRuns.response.503.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `SearchGenAIRuns.response.503.error.quota.id` (string, required)
    - `SearchGenAIRuns.response.503.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `SearchGenAIRuns.response.503.error.quota.limit` (integer, required)
      - min 0
    - `SearchGenAIRuns.response.503.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `SearchGenAIRuns.response.503.error.quota.inFlight` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.503.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.503.error.quota.region` (string, optional)
    - `SearchGenAIRuns.response.503.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `SearchGenAIRuns.response.503.error.quota.scopeResourceName` (string, optional)
    - `SearchGenAIRuns.response.503.error.quota.used` (integer, optional)
      - min 0
    - `SearchGenAIRuns.response.503.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.


Source: https://docs.ezghcloud.com/obs-api/SearchGenAIRuns/index.md
