Skip to main content

projects

Creates, updates, deletes, gets or lists a projects resource.

Overview

Nameprojects
TypeResource
Iddatadog.llm_observability.projects

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringUnique identifier of the project. (example: a33671aa-24fd-4dcd-9b33-a8ec7dde7751)
attributesobjectAttributes of an Agent Observability project.
typestringResource type of an Agent Observability project. (projects) (example: projects)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_llmobs_projectsselectfilter[id], filter[name], page[cursor], page[limit]List all Agent Observability projects sorted by creation date, newest first.
create_llmobs_projectinsertdataCreate a new Agent Observability project. Returns the existing project if a name conflict occurs.
update_llmobs_projectupdateproject_id, dataPartially update an existing Agent Observability project.
delete_llmobs_projectsexecdataDelete one or more Agent Observability projects.

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
project_idstringThe ID of the Agent Observability project. (example: a33671aa-24fd-4dcd-9b33-a8ec7dde7751)
sitestringThe Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both.
filter[id]stringFilter projects by project ID.
filter[name]stringFilter projects by name.
page[cursor]stringUse the Pagination cursor to retrieve the next page of results.
page[limit]integer (int64)Maximum number of results to return per page.

SELECT examples

List all Agent Observability projects sorted by creation date, newest first.

SELECT
id,
attributes,
type
FROM datadog.llm_observability.projects
WHERE filter[id] = '{{ filter[id] }}'
AND filter[name] = '{{ filter[name] }}'
AND page[cursor] = '{{ page[cursor] }}'
AND page[limit] = '{{ page[limit] }}'
;

INSERT examples

Create a new Agent Observability project. Returns the existing project if a name conflict occurs.

INSERT INTO datadog.llm_observability.projects (
data
)
SELECT
'{{ data }}' /* required */
RETURNING
data
;

UPDATE examples

Partially update an existing Agent Observability project.

UPDATE datadog.llm_observability.projects
SET
data = '{{ data }}'
WHERE
project_id = '{{ project_id }}' --required
AND data = '{{ data }}' --required
RETURNING
data;

Lifecycle Methods

EXEC variables use wire (API) names.

Delete one or more Agent Observability projects.

EXEC datadog.llm_observability.projects.delete_llmobs_projects
@@json=
'{
"data": "{{ data }}"
}'
;