Skip to main content

agents_by_openai_key

Creates, updates, deletes, gets or lists an agents_by_openai_key resource.

Overview

Nameagents_by_openai_key
TypeResource
Iddigitalocean.genai.agents_by_openai_key

Fields

The following fields are returned by SELECT queries:

A successful response.

NameDatatypeDescription
agentsarray
linksobjectLinks to other pages
metaobjectMeta information about the data set

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
genai_list_agents_by_openai_keyselectuuidpage, per_pageList Agents by OpenAI Key.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
uuidstringUnique ID of OpenAI key (example: "123e4567-e89b-12d3-a456-426614174000")
pageintegerPage number. (example: 1)
per_pageintegerItems per page. (example: 1)

SELECT examples

List Agents by OpenAI Key.

SELECT
agents,
links,
meta
FROM digitalocean.genai.agents_by_openai_key
WHERE uuid = '{{ uuid }}' -- required
AND page = '{{ page }}'
AND per_page = '{{ per_page }}';