Projects
API Reference - Projects resource
This namespace allows you to retrieve information about Currents Projects:
Get the list of projects for your organization
Get specific project details
Get the list of runs for a project
List Projects
GET v1/projects
Query Parameters
limit
number
Maximum number of results to return (1-100). Default: 10
{
"status": "OK",
"has_more": false,
"data": [{
"projectId": "emdaGd", // project id
"name": "Hello Currents", // project name
"createdAt": "2022-01-14T16:15:18.852Z", // creation date
"inactivityTimeoutSeconds": 7200, // timeout value
"cursor": "61e1a196954ca800138aae97", // pagination cursor
"failFast": true // enable fail-fast strategy
}]
}{
"status": "FAILED",
"error": "Invalid limit parameter. Must be between 1 and 100"
}{
"status": "FAILED",
"error": "Insufficient permissions to access projects"
}Get Project
GET v1/projects/:projectId
Path Parameters
projectId*
string
Project ID
Get Project Insights
GET v1/projects/:projectId/insights
Returns aggregated metrics for the project. See Insights and Analytics.
Path Parameters
projectId*
string
Project ID
Query Parameters
date_start*
string (ISO 8601)
Start date for filtering the query results
date_end*
string (ISO 8601)
End date for filtering the query results
resolution
enum
Aggregation resolution. Values: "1w", "1d"
tags[]
string
Filter by tag names. Multiple values: tags[]=valueA&tags[]=valueB
branches[]
string
Filter by branch names. Multiple values: branches[]=valueA&branches[]=valueB
authors[]
string
Filter by author names. Multiple values: authors[]=authorA&authors[]=authorB
groups[]
string
Filter by group names. Multiple values: groups[]=groupA&groups[]=groupB
Last updated
Was this helpful?