Definitions
Definition CRUD and lifecycle operations
20 endpoints
List definitions
List definitions with optional filtering and pagination.
Parameters
typestringqueryFilter by definition type
agentcommandworkflowpipelinestatusstringqueryFilter by lifecycle status
draftpublisheddeprecatedarchivedagentTypestringqueryFilter by agent type
validatorexecutoranalystgeneratorexplorerforecasterdomainstringqueryFilter by domain category
softwaresecuritycompliancelegalmedicalfinancialscientificcontentgeneralcareerbusinesseducationdocumentationcognitive-lenstierstringqueryFilter by quality tier
userorgprovisibilitystringqueryFilter by visibility level
privateunlistedpublicauthorIdstringuuidqueryFilter by author UUID
searchstringquerySearch in name, displayName, and description
isForkstringqueryFilter by fork status ("true" = only forks, "false" = only originals). Passed as a string query parameter, not a native boolean.
truefalseauthorshipTypestringqueryFilter by authorship provenance type
humanagentcollaborativeautomatedtagstringqueryFilter by tag(s). Can be repeated for multiple tags.
limitintegerqueryMaximum number of results (default 50, max 100)
Default:50offsetintegerqueryNumber of results to skip
Default:0sortBystringqueryField to sort by
namecreatedAtupdatedAtexecutionCountuniqueExecutionCountsortOrderstringquerySort direction
ascdescdesclatestOnlybooleanqueryWhen true, returns only the latest version per (type, name) pair. Defaults to true — omit or set to false to see all versions.
Default:trueResponses
Response fields
dataobject/api/v1/definitionscurl -X GET "https://api.uluops.ai/api/v1/definitions"{
"data": {
"definitions": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "agent",
"name": "...",
"version": "...",
"status": "draft",
"domain": "software",
"subdomain": "...",
"agentType": "validator",
"displayName": "...",
"description": "...",
"author": "...",
"authorshipType": "human",
"tags": [],
"authorId": "550e8400-e29b-41d4-a716-446655440000",
"orgId": "550e8400-e29b-41d4-a716-446655440000",
"tier": "user",
"visibility": "private",
"createdAt": "2026-01-15T10:30:00Z",
"updatedAt": "2026-01-15T10:30:00Z",
"publishedAt": "2026-01-15T10:30:00Z",
"executionCount": 0,
"uniqueExecutionCount": 0,
"forkCount": 0,
"starCount": 0,
"forkedFromId": "550e8400-e29b-41d4-a716-446655440000",
"namespace": "...",
"minSubscription": "...",
"catalogueTier": "free",
"releasedAt": "2026-01-15T10:30:00Z"
}
],
"total": 0,
"limit": 0,
"offset": 0,
"hasMore": true
}
}Get a definition by org namespace
Get a definition scoped to an organization namespace. Supports `name@version` syntax. If no version specified, returns the latest published version within the org. Example: `GET /definitions/agent/@ulu-labs/code-validator`
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelineorgSlugrequiredstringpathOrganization slug (without @ prefix)
namerequiredstringpathDefinition name (lowercase alphanumeric with hyphens)
includeRuntimebooleanquerytrueincludeYamlbooleanquerytrueResponses
Response fields
dataobject/api/v1/definitions/{type}/@{orgSlug}/{name}curl -X GET "https://api.uluops.ai/api/v1/definitions/agent/@example-value/my-project"{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "agent",
"name": "...",
"version": "...",
"yaml": "...",
"hash": "...",
"status": "draft",
"domain": "software",
"subdomain": "...",
"agentType": "validator",
"displayName": "...",
"description": "...",
"author": "...",
"provenance": {
"authorshipType": "human",
"contributors": [
{
"id": "...",
"role": "author",
"type": "human",
"name": "...",
"agentName": "...",
"contributedAt": "2026-01-15T10:30:00Z"
}
],
"dialecticRounds": 0,
"optimizationRunId": "..."
},
"tags": [],
"authorId": "550e8400-e29b-41d4-a716-446655440000",
"orgId": "550e8400-e29b-41d4-a716-446655440000",
"tier": "user",
"visibility": "private",
"runtimeMd": "...",
"promptHash": "...",
"translatorVersion": "...",
"schemaVersion": "...",
"executionCount": 0,
"uniqueExecutionCount": 0,
"forkCount": 0,
"starCount": 0,
"forkedFromId": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2026-01-15T10:30:00Z",
"updatedAt": "2026-01-15T10:30:00Z",
"publishedAt": "2026-01-15T10:30:00Z",
"deprecatedAt": "2026-01-15T10:30:00Z"
}
}Get a definition
Get a definition by type and name. Supports `name@version` syntax. If no version specified, returns the latest published version.
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelinenamerequiredstringpathDefinition name (lowercase alphanumeric with hyphens)
includeRuntimebooleanqueryInclude rendered runtime markdown in response
Default:trueincludeYamlbooleanqueryInclude raw YAML source in response
Default:trueincludeRefsbooleanqueryInclude dependency references in response
Default:falsenormalizebooleanqueryInclude normalized YAML in response
Default:falseResponses
Response fields
dataobject/api/v1/definitions/{type}/{name}curl -X GET "https://api.uluops.ai/api/v1/definitions/agent/my-project"{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "agent",
"name": "...",
"version": "...",
"yaml": "...",
"hash": "...",
"status": "draft",
"domain": "software",
"subdomain": "...",
"agentType": "validator",
"displayName": "...",
"description": "...",
"author": "...",
"provenance": {
"authorshipType": "human",
"contributors": [
{
"id": "...",
"role": "author",
"type": "human",
"name": "...",
"agentName": "...",
"contributedAt": "2026-01-15T10:30:00Z"
}
],
"dialecticRounds": 0,
"optimizationRunId": "..."
},
"tags": [],
"authorId": "550e8400-e29b-41d4-a716-446655440000",
"orgId": "550e8400-e29b-41d4-a716-446655440000",
"tier": "user",
"visibility": "private",
"runtimeMd": "...",
"promptHash": "...",
"translatorVersion": "...",
"schemaVersion": "...",
"executionCount": 0,
"uniqueExecutionCount": 0,
"forkCount": 0,
"starCount": 0,
"forkedFromId": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2026-01-15T10:30:00Z",
"updatedAt": "2026-01-15T10:30:00Z",
"publishedAt": "2026-01-15T10:30:00Z",
"deprecatedAt": "2026-01-15T10:30:00Z"
}
}Create a definition
Create a new definition in draft status.
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelinenamerequiredstringpathDefinition name (lowercase alphanumeric with hyphens)
Request BodyCreateDefinitionInput
yamlrequiredstringThe YAML definition content (ADL for agents, CDL for commands)
visibilitystringDefinition visibility level
privateunlistedpublicprovenanceobjectnullableAuthorship provenance — captures the collaborative topology of who contributed to a definition, what role they played, and whether human or agent.
Responses
Response fields
dataobject/api/v1/definitions/{type}/{name}curl -X POST "https://api.uluops.ai/api/v1/definitions/agent/my-project" \
-H "Authorization: Bearer $ULUOPS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"yaml": "name: example-agent\nversion: 1.0.0"
}'{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "agent",
"name": "...",
"version": "...",
"yaml": "...",
"hash": "...",
"status": "draft",
"domain": "software",
"subdomain": "...",
"agentType": "validator",
"displayName": "...",
"description": "...",
"author": "...",
"provenance": {
"authorshipType": "human",
"contributors": [
{
"id": "...",
"role": "author",
"type": "human",
"name": "...",
"agentName": "...",
"contributedAt": "2026-01-15T10:30:00Z"
}
],
"dialecticRounds": 0,
"optimizationRunId": "..."
},
"tags": [],
"authorId": "550e8400-e29b-41d4-a716-446655440000",
"orgId": "550e8400-e29b-41d4-a716-446655440000",
"tier": "user",
"visibility": "private",
"runtimeMd": "...",
"promptHash": "...",
"translatorVersion": "...",
"schemaVersion": "...",
"executionCount": 0,
"uniqueExecutionCount": 0,
"forkCount": 0,
"starCount": 0,
"forkedFromId": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2026-01-15T10:30:00Z",
"updatedAt": "2026-01-15T10:30:00Z",
"publishedAt": "2026-01-15T10:30:00Z",
"deprecatedAt": "2026-01-15T10:30:00Z"
}
}Update a definition
Update a draft definition. Requires `name@version` syntax. Only draft definitions can be updated.
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelinenamerequiredstringpathDefinition name with version (name@version format)
Request BodyUpdateDefinitionInput
yamlstringUpdated YAML content
visibilitystringDefinition visibility level
privateunlistedpublicdisplayNamestringdescriptionstringdomainstringDefinition domain category
softwaresecuritycompliancelegalmedicalfinancialscientificcontentgeneralcareerbusinesseducationdocumentationcognitive-lenssubdomainstringagentTypestringAgent archetype classification
validatorexecutoranalystgeneratorexplorerforecastertagsstring[]provenanceobjectnullableAuthorship provenance — captures the collaborative topology of who contributed to a definition, what role they played, and whether human or agent.
changeSummarystringSummary of changes made in this update
changeTypestringSemantic version change type
majorminorpatchtierstringDefinition tier classification
Responses
Response fields
dataobject/api/v1/definitions/{type}/{name}curl -X PUT "https://api.uluops.ai/api/v1/definitions/agent/my-project" \
-H "Authorization: Bearer $ULUOPS_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "agent",
"name": "...",
"version": "...",
"yaml": "...",
"hash": "...",
"status": "draft",
"domain": "software",
"subdomain": "...",
"agentType": "validator",
"displayName": "...",
"description": "...",
"author": "...",
"provenance": {
"authorshipType": "human",
"contributors": [
{
"id": "...",
"role": "author",
"type": "human",
"name": "...",
"agentName": "...",
"contributedAt": "2026-01-15T10:30:00Z"
}
],
"dialecticRounds": 0,
"optimizationRunId": "..."
},
"tags": [],
"authorId": "550e8400-e29b-41d4-a716-446655440000",
"orgId": "550e8400-e29b-41d4-a716-446655440000",
"tier": "user",
"visibility": "private",
"runtimeMd": "...",
"promptHash": "...",
"translatorVersion": "...",
"schemaVersion": "...",
"executionCount": 0,
"uniqueExecutionCount": 0,
"forkCount": 0,
"starCount": 0,
"forkedFromId": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2026-01-15T10:30:00Z",
"updatedAt": "2026-01-15T10:30:00Z",
"publishedAt": "2026-01-15T10:30:00Z",
"deprecatedAt": "2026-01-15T10:30:00Z"
}
}Delete a definition
Delete a draft definition. Requires `name@version` syntax.
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelinenamerequiredstringpathDefinition name with version (name@version format)
Responses
/api/v1/definitions/{type}/{name}curl -X DELETE "https://api.uluops.ai/api/v1/definitions/agent/my-project" \
-H "Authorization: Bearer $ULUOPS_TOKEN"Publish a definition
Publish a draft definition, making it immutable and resolvable. Requires `name@version` syntax. The response may include a top-level `warnings` array for non-fatal failures (translation, safety scan). When `TRANSLATION_FAILED` is present, the definition was published but `runtimeMd` is null and rendering will not work until the YAML is corrected. Empty/absent warnings indicates a clean publish.
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelinenamerequiredstringpathDefinition name with version (name@version format)
Responses
Response fields
dataobjectwarningsPublishWarning[]/api/v1/definitions/{type}/{name}/publishcurl -X POST "https://api.uluops.ai/api/v1/definitions/agent/my-project/publish" \
-H "Authorization: Bearer $ULUOPS_TOKEN"{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "agent",
"name": "...",
"version": "...",
"yaml": "...",
"hash": "...",
"status": "draft",
"domain": "software",
"subdomain": "...",
"agentType": "validator",
"displayName": "...",
"description": "...",
"author": "...",
"provenance": {
"authorshipType": "human",
"contributors": [
{
"id": "...",
"role": "author",
"type": "human",
"name": "...",
"agentName": "...",
"contributedAt": "2026-01-15T10:30:00Z"
}
],
"dialecticRounds": 0,
"optimizationRunId": "..."
},
"tags": [],
"authorId": "550e8400-e29b-41d4-a716-446655440000",
"orgId": "550e8400-e29b-41d4-a716-446655440000",
"tier": "user",
"visibility": "private",
"runtimeMd": "...",
"promptHash": "...",
"translatorVersion": "...",
"schemaVersion": "...",
"executionCount": 0,
"uniqueExecutionCount": 0,
"forkCount": 0,
"starCount": 0,
"forkedFromId": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2026-01-15T10:30:00Z",
"updatedAt": "2026-01-15T10:30:00Z",
"publishedAt": "2026-01-15T10:30:00Z",
"deprecatedAt": "2026-01-15T10:30:00Z"
},
"warnings": [
{
"code": "...",
"message": "...",
"details": "..."
}
]
}Deprecate a definition
Mark a published definition as deprecated. Requires `name@version` syntax.
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelinenamerequiredstringpathDefinition name with version (name@version format)
Request BodyDeprecateDefinitionInput
reasonrequiredstringHuman-readable explanation for deprecation
successorstringReference to successor definition in format "name" or "name@version". The type is inherited from the deprecated definition.
Pattern:^[a-z][a-z0-9-]*(@\d+\.\d+\.\d+)?$Responses
Response fields
dataobject/api/v1/definitions/{type}/{name}/deprecatecurl -X POST "https://api.uluops.ai/api/v1/definitions/agent/my-project/deprecate" \
-H "Authorization: Bearer $ULUOPS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"reason": "Resolved in latest commit"
}'{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "agent",
"name": "...",
"version": "...",
"yaml": "...",
"hash": "...",
"status": "draft",
"domain": "software",
"subdomain": "...",
"agentType": "validator",
"displayName": "...",
"description": "...",
"author": "...",
"provenance": {
"authorshipType": "human",
"contributors": [
{
"id": "...",
"role": "author",
"type": "human",
"name": "...",
"agentName": "...",
"contributedAt": "2026-01-15T10:30:00Z"
}
],
"dialecticRounds": 0,
"optimizationRunId": "..."
},
"tags": [],
"authorId": "550e8400-e29b-41d4-a716-446655440000",
"orgId": "550e8400-e29b-41d4-a716-446655440000",
"tier": "user",
"visibility": "private",
"runtimeMd": "...",
"promptHash": "...",
"translatorVersion": "...",
"schemaVersion": "...",
"executionCount": 0,
"uniqueExecutionCount": 0,
"forkCount": 0,
"starCount": 0,
"forkedFromId": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2026-01-15T10:30:00Z",
"updatedAt": "2026-01-15T10:30:00Z",
"publishedAt": "2026-01-15T10:30:00Z",
"deprecatedAt": "2026-01-15T10:30:00Z"
}
}Archive a definition
Move a deprecated definition to archived state (terminal). Archived definitions are not discoverable in search/lists but remain resolvable by direct ID. Requires name@version format.
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelinenamerequiredstringpathDefinition name with version (name@version format)
Responses
Response fields
dataobject/api/v1/definitions/{type}/{name}/archivecurl -X POST "https://api.uluops.ai/api/v1/definitions/agent/my-project/archive" \
-H "Authorization: Bearer $ULUOPS_TOKEN"{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "agent",
"name": "...",
"version": "...",
"yaml": "...",
"hash": "...",
"status": "draft",
"domain": "software",
"subdomain": "...",
"agentType": "validator",
"displayName": "...",
"description": "...",
"author": "...",
"provenance": {
"authorshipType": "human",
"contributors": [
{
"id": "...",
"role": "author",
"type": "human",
"name": "...",
"agentName": "...",
"contributedAt": "2026-01-15T10:30:00Z"
}
],
"dialecticRounds": 0,
"optimizationRunId": "..."
},
"tags": [],
"authorId": "550e8400-e29b-41d4-a716-446655440000",
"orgId": "550e8400-e29b-41d4-a716-446655440000",
"tier": "user",
"visibility": "private",
"runtimeMd": "...",
"promptHash": "...",
"translatorVersion": "...",
"schemaVersion": "...",
"executionCount": 0,
"uniqueExecutionCount": 0,
"forkCount": 0,
"starCount": 0,
"forkedFromId": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2026-01-15T10:30:00Z",
"updatedAt": "2026-01-15T10:30:00Z",
"publishedAt": "2026-01-15T10:30:00Z",
"deprecatedAt": "2026-01-15T10:30:00Z"
}
}Get translator version
Returns the current version of the YAML-to-Markdown translator.
Responses
Response fields
dataobject/api/v1/definitions/translation/versioncurl -X GET "https://api.uluops.ai/api/v1/definitions/translation/version"{
"data": {
"translatorVersion": "..."
}
}Retranslate a definition
Retranslate a definition using the latest translator version. Updates runtimeMd without changing the yaml content. Requires `name@version` syntax.
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelinenamerequiredstringpathDefinition name with version (name@version format)
Responses
Response fields
dataobject/api/v1/definitions/{type}/{name}/retranslatecurl -X POST "https://api.uluops.ai/api/v1/definitions/agent/my-project/retranslate" \
-H "Authorization: Bearer $ULUOPS_TOKEN"{
"data": {
"type": "agent",
"name": "...",
"version": "...",
"translatorVersion": "...",
"previousTranslatorVersion": "...",
"newVersionCreated": true,
"newVersion": "...",
"changes": true
}
}Upgrade to dual-storage format
Upgrade a legacy definition to dual-storage format (yaml + runtimeMd). Creates a new major version with the translated runtime markdown.
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelinenamerequiredstringpathDefinition name (lowercase alphanumeric with hyphens)
Request Body
yamlrequiredstringYAML content to upgrade
Responses
Response fields
dataobject/api/v1/definitions/{type}/{name}/upgradecurl -X POST "https://api.uluops.ai/api/v1/definitions/agent/my-project/upgrade" \
-H "Authorization: Bearer $ULUOPS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"yaml": "name: example-agent\nversion: 1.0.0"
}'{
"data": {
"type": "agent",
"name": "...",
"version": "...",
"previousVersion": "...",
"translatorVersion": "...",
"upgraded": true
}
}Fork a definition
Create a fork of a definition under the authenticated user's ownership. Supports `name@version` syntax; if no version specified, forks the latest published version.
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelinenamerequiredstringpathDefinition name (lowercase alphanumeric with hyphens)
Request BodyForkDefinitionInput
namerequiredstringName for the forked definition
Pattern:^[a-z][a-z0-9-]*$visibilitystringDefinition visibility level
privateunlistedpublicdisplayNamestringOptional display name override
descriptionstringOptional description override
Responses
Response fields
dataobject/api/v1/definitions/{type}/{name}/forkcurl -X POST "https://api.uluops.ai/api/v1/definitions/agent/my-project/fork" \
-H "Authorization: Bearer $ULUOPS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "my-project"
}'{
"data": {
"definition": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "agent",
"name": "...",
"version": "...",
"yaml": "...",
"hash": "...",
"status": "draft",
"domain": "software",
"subdomain": "...",
"agentType": "validator",
"displayName": "...",
"description": "...",
"author": "...",
"provenance": {
"authorshipType": "human",
"contributors": [
{
"id": "...",
"role": "author",
"type": "human",
"name": "...",
"agentName": "...",
"contributedAt": "2026-01-15T10:30:00Z"
}
],
"dialecticRounds": 0,
"optimizationRunId": "..."
},
"tags": [],
"authorId": "550e8400-e29b-41d4-a716-446655440000",
"orgId": "550e8400-e29b-41d4-a716-446655440000",
"tier": "user",
"visibility": "private",
"runtimeMd": "...",
"promptHash": "...",
"translatorVersion": "...",
"schemaVersion": "...",
"executionCount": 0,
"uniqueExecutionCount": 0,
"forkCount": 0,
"starCount": 0,
"forkedFromId": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2026-01-15T10:30:00Z",
"updatedAt": "2026-01-15T10:30:00Z",
"publishedAt": "2026-01-15T10:30:00Z",
"deprecatedAt": "2026-01-15T10:30:00Z"
},
"fork": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"definitionId": "550e8400-e29b-41d4-a716-446655440000",
"sourceDefinitionId": "550e8400-e29b-41d4-a716-446655440000",
"forkedAt": "2026-01-15T10:30:00Z"
},
"source": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "agent",
"name": "...",
"version": "...",
"authorId": "550e8400-e29b-41d4-a716-446655440000",
"orgId": "550e8400-e29b-41d4-a716-446655440000"
},
"warnings": []
}
}Check if definition can be forked
Check if a definition can be forked by the current user. Returns reasons if forking is not allowed.
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelinenamerequiredstringpathDefinition name (lowercase alphanumeric with hyphens)
Responses
Response fields
dataobject/api/v1/definitions/{type}/{name}/forkablecurl -X GET "https://api.uluops.ai/api/v1/definitions/agent/my-project/forkable"{
"data": {
"canFork": true,
"reason": "..."
}
}Get fork lineage
Get the fork lineage for a definition. Shows the source definition if this is a fork.
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelinenamerequiredstringpathDefinition name (lowercase alphanumeric with hyphens)
Responses
Response fields
dataobject/api/v1/definitions/{type}/{name}/lineagecurl -X GET "https://api.uluops.ai/api/v1/definitions/agent/my-project/lineage"{
"data": {
"isFork": true,
"fork": "...",
"source": "..."
}
}List forks of a definition
List all definitions that were forked from this one.
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelinenamerequiredstringpathDefinition name (lowercase alphanumeric with hyphens)
Responses
Response fields
dataobject/api/v1/definitions/{type}/{name}/forkscurl -X GET "https://api.uluops.ai/api/v1/definitions/agent/my-project/forks"{
"data": {
"forks": [
{
"fork": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"definitionId": "550e8400-e29b-41d4-a716-446655440000",
"sourceDefinitionId": "550e8400-e29b-41d4-a716-446655440000",
"forkedAt": "2026-01-15T10:30:00Z"
},
"definition": "..."
}
],
"totalForks": 0
}
}Get dependency graph
Get the full dependency graph for a definition. Returns both a tree structure and a flat list of all dependencies.
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelinenamerequiredstringpathDefinition name (lowercase alphanumeric with hyphens)
maxDepthintegerqueryMaximum depth to traverse. If omitted, traverses the full dependency tree up to the system limit.
Default:10Responses
Response fields
dataobject/api/v1/definitions/{type}/{name}/dependenciescurl -X GET "https://api.uluops.ai/api/v1/definitions/agent/my-project/dependencies"{
"data": {
"definition": {
"type": "agent",
"name": "...",
"version": "..."
},
"graph": {
"type": "agent",
"name": "...",
"version": "...",
"dependencies": [
{
"type": "agent",
"name": "...",
"version": "...",
"dependencies": [
{
"type": "agent",
"name": "...",
"version": "...",
"dependencies": [
{
"type": "agent",
"name": "...",
"version": "...",
"dependencies": []
}
]
}
]
}
]
},
"flat": [
{
"type": "agent",
"name": "...",
"version": "..."
}
],
"totalCount": 0,
"maxDepth": 0
}
}Get dependents
Get all definitions that depend on this one.
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelinenamerequiredstringpathDefinition name (lowercase alphanumeric with hyphens)
Responses
Response fields
dataobject/api/v1/definitions/{type}/{name}/dependentscurl -X GET "https://api.uluops.ai/api/v1/definitions/agent/my-project/dependents"{
"data": {
"definition": {
"type": "agent",
"name": "...",
"version": "..."
},
"dependents": [
{
"type": "agent",
"name": "...",
"version": "..."
}
],
"totalCount": 0
}
}Get execution statistics
Get execution count statistics for a definition.
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelinenamerequiredstringpathDefinition name (lowercase alphanumeric with hyphens)
windowintegerqueryTime window in minutes for recent count (default 60, max 43200)
Default:60includearrayqueryAdditional breakdowns to include in the response
timeBucketstringqueryTime bucket granularity for byTime breakdown
hourdayhourResponses
Response fields
dataobject/api/v1/definitions/{type}/{name}/executionscurl -X GET "https://api.uluops.ai/api/v1/definitions/agent/my-project/executions"{
"data": {
"totalCount": 0,
"recentCount": 0,
"windowMinutes": 0
}
}Record an execution (admin)
Record a definition execution. Supports idempotency via runId. If runId is provided and already recorded, returns 200 instead of 201. Requires admin role — execution recording is handled automatically by the platform.
Parameters
typerequiredstringpathDefinition type
agentcommandworkflowpipelinenamerequiredstringpathDefinition name (lowercase alphanumeric with hyphens)
Request BodyRecordExecutionInput
sourcerequiredstringSource of execution (e.g., 'sdk', 'cli', 'api')
runIdstringUnique run ID for idempotency
Responses
Response fields
dataobject/api/v1/definitions/{type}/{name}/executionscurl -X POST "https://api.uluops.ai/api/v1/definitions/agent/my-project/executions" \
-H "Authorization: Bearer $ULUOPS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"source": "example-value"
}'{
"data": {
"recorded": true,
"duplicate": true,
"definition": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "agent",
"name": "...",
"version": "..."
},
"executionCount": 0
}
}