Get Project
GET/api/v1/projects/:project_id
Get a project by ID.
Request
Path Parameters
project_id anyrequired
Query Parameters
organization_id any
Cookie Parameters
session any
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD1
- MOD1
name Name (string)required
Possible values: non-empty
and <= 3000 characters
id uuidrequired
Unique identifier
created_at
object
Creation datetime
anyOf
string
updated_at
object
Update datetime
anyOf
string
ad_hoc_eval_dataset_id
object
anyOf
string
organization_id uuidrequired
The Organization ID the project is under.
is_default Is Default (boolean)
Whether this project is the default project for the user.
Default value:
false
{
"name": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"ad_hoc_eval_dataset_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"organization_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_default": false
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...