Lightdash Projects API
Projects belong to a single organization. These routes allow users to manage their projects, browse content, and execute queries. Users inside an organization might have access to a project from an organization-level role or they might be granted access to a project directly.
Operations 246
POST
/api/v1/projects/{projectUuid}/code/writebacks/dashboards/{slug}/propose
Propose dashboard to git
#
POST
/api/v1/projects/{projectUuid}/code/scheduledDeliveries/{slug}
Upsert scheduled delivery as code
#
POST
/api/v1/projects/{projectUuid}/code/externalConnections/{slug}
Upsert external connection as code
#
GET
/api/v1/projects/{projectUuid}/scheduledDeliveries/code
List scheduled deliveries as code (deprecated)
#
GET
/api/v1/projects/{projectUuid}/googleSheets/code
List Google Sheets syncs as code (deprecated)
#
POST
/api/v1/projects/{projectUuid}/virtualViews/{slug}/code
Upsert virtual view as code (deprecated)
#
POST
/api/v1/projects/{projectUuid}/scheduledDeliveries/{slug}/code
Upsert scheduled delivery as code (deprecated)
#
POST
/api/v1/projects/{projectUuid}/googleSheets/{slug}/code
Upsert Google Sheets sync as code (deprecated)
#
GET
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/documents/{documentUuid}/content
Get agent document content
#
PATCH
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/documents/{documentUuid}/content
Update agent document content
#
PATCH
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/documents/{documentUuid}
Update agent document
#
DELETE
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/documents/{documentUuid}
Delete agent document
#
POST
/api/v1/projects/{projectUuid}/aiAgents/mcpServers/{mcpServerUuid}/credential
Update mcp server bearer credential
#
GET
/api/v1/projects/{projectUuid}/aiAgents/mcpServers/github/availability
Get github mcp availability
#
POST
/api/v1/projects/{projectUuid}/aiAgents/mcpServers/github/connect-app
Connect github mcp server app
#
GET
/api/v1/projects/{projectUuid}/aiAgents/mcpServers/{mcpServerUuid}/tools
List mcp server tools
#
POST
/api/v1/projects/{projectUuid}/aiAgents/mcpServers/{mcpServerUuid}/tools/refresh
Refresh mcp server tools
#
POST
/api/v1/projects/{projectUuid}/aiAgents/mcpServers/{mcpServerUuid}/oauth/start
Start mcp OAuth connection
#
POST
/api/v1/projects/{projectUuid}/aiAgents/mcpServers/{mcpServerUuid}/oauth/disconnect
Disconnect mcp OAuth connection
#
GET
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/mcpServers/{mcpServerUuid}/tools
List agent mcp server tools
#
PATCH
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/mcpServers/{mcpServerUuid}/tools
Update agent mcp server tools
#
POST
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/evaluateReadiness
Evaluate agent readiness
#
DELETE
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}
Delete AI agent thread
#
PATCH
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}
Update AI agent thread
#
POST
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}/pin
Pin AI agent thread
#
DELETE
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}/pin
Unpin AI agent thread
#
GET
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}/pull-request
Get AI agent thread pull request
#
GET
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}/pull-requests
List AI agent thread pull requests
#
POST
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}/messages
Create agent thread message
#
POST
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}/data-app-restores
Restore data app version
#
POST
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}/tool-calls/{toolCallId}/sql-approval
Decide agent sql approval
#
POST
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}/stream
Stream agent thread response
#
POST
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}/messages/{messageUuid}/interrupt
Interrupt agent thread message
#
POST
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}/messages/{messageUuid}/steers
Create agent thread message steer
#
POST
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}/generate
Generate agent thread response
#
POST
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}/generate-title
Generate agent thread title
#
POST
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}/clone/{promptUuid}
Clone agent thread
#
PATCH
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}/messages/{messageUuid}/savedQuery
Update agent thread message saved query
#
PATCH
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}/messages/{messageUuid}/feedback
Update prompt feedback
#
POST
/api/v1/projects/{projectUuid}/aiAgents/explore-access-summary
Get agent explore access summary
#
GET
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/artifacts/{artifactUuid}/versions/{versionUuid}
Get artifact version
#
GET
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/artifacts/{artifactUuid}/versions/{versionUuid}/viz-query
Get artifact viz query
#
GET
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/artifacts/{artifactUuid}/versions/{versionUuid}/query-results
Get artifact query results
#
POST
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}/shares
Create ai agent thread share
#
POST
/api/v1/projects/{projectUuid}/aiAgents/thread-shares/{aiThreadShareUuid}/clone
Clone ai agent thread share
#
GET
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/artifacts/{artifactUuid}/versions/{versionUuid}/charts/{chartIndex}/viz-query
Get dashboard artifact chart viz query
#
PATCH
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/artifacts/{artifactUuid}/versions/{versionUuid}/savedDashboard
Update artifact version saved dashboard
#
PATCH
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/artifacts/{artifactUuid}/versions/{versionUuid}/savedSql
Update artifact version saved sql
#
PATCH
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/artifacts/{artifactUuid}/versions/{versionUuid}/verified
Set artifact version verified
#
PATCH
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/artifacts/{artifactUuid}/versions/{versionUuid}/viz-config
Update artifact version viz config
#
POST
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/evaluations/{evalUuid}/run
Run evaluation
#
PATCH
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/evaluations/{evalUuid}
Update evaluation
#
DELETE
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/evaluations/{evalUuid}
Delete evaluation
#
GET
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/evaluations/{evalUuid}/runs
Get evaluation runs
#
GET
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/evaluations/{evalUuid}/runs/{runUuid}
Get evaluation run results
#
POST
/api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/evaluations/{evalUuid}/append
Append to evaluation
#
POST
/api/v1/projects/{projectUuid}/validate/dashboard/{dashboardUuid}
Validate specific dashboard
#
GET
/api/v1/projects/{projectUuid}/rename/dashboard/{dashboardUuid}/fields
Get dashboard fields for rename
#
GET
/api/v1/projects/{projectUuid}/user-warehouse-credentials
List project user warehouse credentials
#
PATCH
/api/v1/projects/{projectUuid}/user-credentials/{userWarehouseCredentialsUuid}
Update user warehouse credentials preference
#
POST
/api/v1/projects/{projectUuid}/pre-aggregates/definitions/{preAggregateDefinitionName}/refresh
Refresh pre-aggregate by definition name
#
GET
/api/v1/projects/{projectUuid}/compile-logs/job/{jobUuid}
Get compilation log for a specific job
#
Documentation
Specifications
Schemas & Data
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lightdash/refs/heads/main/json-schema/lightdash-project.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lightdash/refs/heads/main/json-schema/lightdash-dashboard.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lightdash/refs/heads/main/json-schema/lightdash-chartsummary.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lightdash/refs/heads/main/json-schema/lightdash-space.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lightdash/refs/heads/main/json-schema/lightdash-scimuser.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lightdash/refs/heads/main/json-schema/lightdash-serviceaccount.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lightdash/refs/heads/main/json-schema/lightdash-schedulerandtargets.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lightdash/refs/heads/main/json-schema/lightdash-apierrorpayload.json