> For the complete documentation index, see [llms.txt](https://tri.gitbook.io/tri-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tri.gitbook.io/tri-doc/liquidity-pool/carbon-equivalent-reporting/ai-compute/get-ai-compute-providers.md).

# Get AI Compute Providers

### Liquidity Pool

<mark style="color:blue;">`GET`</mark> <https://sandbox.triangle.digital/api/v2/liquidity\\_pool/ai\\_compute/providers>

AI providers available for AI Compute. `value` is what `provider` takes in an [AI Compute expense line](/tri-doc/liquidity-pool/create-invoice.md) and in [Get AI Compute Models](/tri-doc/liquidity-pool/carbon-equivalent-reporting/ai-compute/get-ai-compute-models.md); `label` is the display name.

**Headers**

<table data-full-width="true"><thead><tr><th>Name</th><th>Value</th></tr></thead><tbody><tr><td>Content-Type</td><td><code>application/json</code></td></tr></tbody></table>

**Query parameters**

<table data-full-width="true" data-search="false"><thead><tr><th width="200">Name</th><th width="110">Type</th><th>Description</th><th width="260">Example</th></tr></thead><tbody><tr><td><code>hash</code></td><td>string</td><td><strong>Required.</strong> API key.</td><td>fk5f0iuy-rr06-j4x3-i75b-fy2s67s4ilo1</td></tr></tbody></table>

**Response fields**

<table data-full-width="true" data-search="false"><thead><tr><th width="280">Field</th><th width="110">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>message</code></td><td>string</td><td>Human-readable result of the call.</td></tr><tr><td><code>success</code></td><td>boolean</td><td>Whether the call succeeded; a failed call answers HTTP 400.</td></tr><tr><td><code>data[].value</code></td><td>string</td><td>Identifier of the provider — the value to send in <code>provider</code> of an <code>ai_compute</code> expense line (<a href="/tri-doc/liquidity-pool/create-invoice.md">Create Invoice</a>, <a href="/tri-doc/liquidity-pool/edit-invoice.md">Edit Invoice</a>).</td></tr><tr><td><code>data[].label</code></td><td>string</td><td>Name of the provider as it is shown to a person.</td></tr><tr><td><code>operations_count</code></td><td>integer</td><td>Always <code>1</code>.</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="200" %}
{% code fullWidth="false" %}

```json
{
    "message": "Data received successfully.",
    "success": true,
    "data": [
        {
            "value": "anthropic",
            "label": "Anthropic"
        },
        {
            "value": "openai",
            "label": "OpenAI"
        }
    ],
    "operations_count": 1
}
```

{% endcode %}
{% endtab %}

{% tab title="400" %}
The hash is unknown, or the provider list is temporarily unavailable; the message says what exactly.

```json
{
    "message": "Error! No such hash.",
    "success": false,
    "data": []
}
```

{% endtab %}
{% endtabs %}
