created_at
(datetime.datetime
): The timestamp when the project was created.created_by
(str
): The identifier of the user who created the project.id
(str
): The unique identifier of the project.updated_at
(datetime.datetime
): The timestamp when the project was last updated.bookmark
(Union[Unset, bool]
): Whether the project is bookmarked. Defaults to False.datetime.datetime
0 (datetime.datetime
1): The name of the project.datetime.datetime
2 (datetime.datetime
3): The permissions associated with the project.datetime.datetime
4 (datetime.datetime
5): The type of the project, typically GEN_AI.errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.httpx.TimeoutException
: If the request takes longer than Client.timeout.list[Project]
: A list of projects.
id
or name
must be provided).
Arguments:
id
(str
): The id of the project.name
(str
): The name of the project.ValueError
: If neither or both id
and name
are provided.errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.name
0: If the request takes longer than Client.timeout.name
1: The project.
name
(str
): The name of the project.errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.httpx.TimeoutException
: If the request takes longer than Client.timeout.Project
: The created project.
id
or name
must be provided).
Arguments:
id
(str
): The id of the project.name
(str
): The name of the project.with_content
(bool
): Whether to return the content of the project. Default is False.errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.httpx.TimeoutException
: If the request takes longer than Client.timeout.name
0: The project.
limit
(Union[Unset, int]
): The maximum number of projects to return. Default is 100.errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.httpx.TimeoutException
: If the request takes longer than Client.timeout.list[Project]
: A list of projects.
name
(str
): The name of the project.type_
(ProjectType
): The type of the project.errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.httpx.TimeoutException
: If the request takes longer than Client.timeout.Project
: The created project.