List Projects By User
GET/api/v1/organizations/:organization_id/users/:user_id/projects
List all projects for a user in an organization.
Request
Path Parameters
organization_id uuidrequired
user_id User Idrequired
Cookie Parameters
session any
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- 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...