Projects

List of projects

List of projects

GEThttps://preprod.dev.fiddler.ai/v3/projects
Query parameters
Response

List of projects

Body
api_versionenum

API version of the response.

3.0
kindenum

Type of response, indicating a paginated response.

PAGINATED
dataobject
dataobject
Request
const response = await fetch('https://preprod.dev.fiddler.ai/v3/projects', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "api_version": "3.0",
  "kind": "PAGINATED",
  "data": {
    "items": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "name": "text",
        "organization": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "name": "text"
        },
        "created_at": "2024-09-19T21:07:36.050Z",
        "updated_at": "2024-09-19T21:07:36.050Z"
      }
    ]
  }
}

Create new project

Create new project

POSThttps://preprod.dev.fiddler.ai/v3/projects
Body
name*string

Name of the project

Response

Details of the created project

Body
api_versionenum

API version.

3.0
kindenum

Type of response, indicating a normal response.

NORMAL
dataProject (object)

Details of the project

Request
const response = await fetch('https://preprod.dev.fiddler.ai/v3/projects', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "name": "text"
    }),
});
const data = await response.json();
Response
{
  "api_version": "3.0",
  "kind": "NORMAL",
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "organization": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text"
    },
    "created_at": "2024-09-19T21:07:36.050Z",
    "updated_at": "2024-09-19T21:07:36.050Z"
  }
}

Get project detail

Detail info of a project for the specified project id

GEThttps://preprod.dev.fiddler.ai/v3/projects/{project_id}
Path parameters
project_id*string (uuid)

Path parameter for unique identifier of a project

Response

Detail info of the project

Body
api_versionenum

API version.

3.0
kindenum

Type of response, indicating a normal response.

NORMAL
dataProject (object)

Details of the project

Request
const response = await fetch('https://preprod.dev.fiddler.ai/v3/projects/{project_id}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "api_version": "3.0",
  "kind": "NORMAL",
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "organization": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text"
    },
    "created_at": "2024-09-19T21:07:36.050Z",
    "updated_at": "2024-09-19T21:07:36.050Z"
  }
}

© 2024 Fiddler AI