Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

jobs:
lint:
timeout-minutes: 10
name: lint
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.16"
".": "0.1.0-alpha.17"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 36
openapi_spec_hash: 6311021a3aba7ac56cc3b474762945c0
config_hash: adbedb6317fca6f566f54564cc341846
configured_endpoints: 43
openapi_spec_hash: 62b629dd5b215c1eebc57e0c6039eea7
config_hash: 5e459b33c53ffa6e554087a779bdb790
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Changelog

## 0.1.0-alpha.17 (2025-04-23)

Full Changelog: [v0.1.0-alpha.16...v0.1.0-alpha.17](https://github.com/cleanlab/codex-python/compare/v0.1.0-alpha.16...v0.1.0-alpha.17)

### Features

* **api:** add proj analytics endpoint ([ae79a63](https://github.com/cleanlab/codex-python/commit/ae79a63eb48beb6c4c72fd99e39c8de37915e028))
* **api:** add project increment_queries and other recent endpoints ([5bf31f7](https://github.com/cleanlab/codex-python/commit/5bf31f74b6008c9bda7b4ec290b1216a51ef9d1f))
* **api:** add project increment_queries and other recent endpoints ([e81cc3d](https://github.com/cleanlab/codex-python/commit/e81cc3d451c7c8d163c0b80d983140506a0adb66))
* **api:** add project increment_queries and other recent endpoints ([b038fbe](https://github.com/cleanlab/codex-python/commit/b038fbe3e90f3096b0913256db9e31ca52cd4001))
* **api:** api update ([ed0b337](https://github.com/cleanlab/codex-python/commit/ed0b337167c713bebd54c21fe587ee05c57a90d4))
* **api:** api update ([3f85757](https://github.com/cleanlab/codex-python/commit/3f857575176d200a639880dfa7e60e3a9949750c))
* **api:** api update ([4f39e46](https://github.com/cleanlab/codex-python/commit/4f39e46167b88a0c7198bdd8ad7d31bf118d485c))


### Bug Fixes

* **pydantic v1:** more robust ModelField.annotation check ([2db34b6](https://github.com/cleanlab/codex-python/commit/2db34b6bcbd0b62c6474146d50c259244f13f84f))


### Chores

* **ci:** add timeout thresholds for CI jobs ([bcc2ed0](https://github.com/cleanlab/codex-python/commit/bcc2ed013f1e88ac4f97bdb0dc7e47364276e182))
* **internal:** fix list file params ([2e9cf89](https://github.com/cleanlab/codex-python/commit/2e9cf89c75d12ed44ace20998aa7245a8b241922))
* **internal:** import reformatting ([bcf89d2](https://github.com/cleanlab/codex-python/commit/bcf89d29f760b4eb2e9b7534034adfc28582ea03))
* **internal:** refactor retries to not use recursion ([2f3a24a](https://github.com/cleanlab/codex-python/commit/2f3a24a40294e21f2e3d9e9464796750ff25b51e))
* **internal:** update models test ([444cd03](https://github.com/cleanlab/codex-python/commit/444cd038fc03a545fc2da0a6e5ab14ea84102408))
* **internal:** version bump ([03cd933](https://github.com/cleanlab/codex-python/commit/03cd93334de3db9beea06ae0f62bcb0ab61466a4))
* **internal:** version bump ([88821c7](https://github.com/cleanlab/codex-python/commit/88821c710de290b37a6dbc9a81ef0a1cc396db62))

## 0.1.0-alpha.16 (2025-04-18)

Full Changelog: [v0.1.0-alpha.15...v0.1.0-alpha.16](https://github.com/cleanlab/codex-python/compare/v0.1.0-alpha.15...v0.1.0-alpha.16)
Expand Down
29 changes: 18 additions & 11 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,18 @@ Methods:
Types:

```python
from codex.types import OrganizationSchemaPublic
from codex.types import (
OrganizationSchemaPublic,
OrganizationListMembersResponse,
OrganizationRetrievePermissionsResponse,
)
```

Methods:

- <code title="get /api/organizations/{organization_id}">client.organizations.<a href="./src/codex/resources/organizations/organizations.py">retrieve</a>(organization_id) -> <a href="./src/codex/types/organization_schema_public.py">OrganizationSchemaPublic</a></code>
- <code title="get /api/organizations/{organization_id}/members">client.organizations.<a href="./src/codex/resources/organizations/organizations.py">list_members</a>(organization_id) -> <a href="./src/codex/types/organization_list_members_response.py">OrganizationListMembersResponse</a></code>
- <code title="get /api/organizations/{organization_id}/permissions">client.organizations.<a href="./src/codex/resources/organizations/organizations.py">retrieve_permissions</a>(organization_id) -> <a href="./src/codex/types/organization_retrieve_permissions_response.py">OrganizationRetrievePermissionsResponse</a></code>

## Billing

Expand Down Expand Up @@ -77,15 +83,9 @@ Methods:

# Users

Types:

```python
from codex.types import User
```

Methods:

- <code title="patch /api/users/activate_account">client.users.<a href="./src/codex/resources/users/users.py">activate_account</a>(\*\*<a href="src/codex/types/user_activate_account_params.py">params</a>) -> <a href="./src/codex/types/user.py">User</a></code>
- <code title="patch /api/users/activate_account">client.users.<a href="./src/codex/resources/users/users.py">activate_account</a>(\*\*<a href="src/codex/types/user_activate_account_params.py">params</a>) -> <a href="./src/codex/types/users/user_schema_public.py">UserSchemaPublic</a></code>

## Myself

Expand All @@ -97,13 +97,13 @@ from codex.types.users import UserSchema, UserSchemaPublic

Methods:

- <code title="get /api/users/myself">client.users.myself.<a href="./src/codex/resources/users/myself/myself.py">retrieve</a>() -> <a href="./src/codex/types/user.py">User</a></code>
- <code title="get /api/users/myself">client.users.myself.<a href="./src/codex/resources/users/myself/myself.py">retrieve</a>() -> <a href="./src/codex/types/users/user_schema_public.py">UserSchemaPublic</a></code>

### APIKey

Methods:

- <code title="get /api/users/myself/api-key">client.users.myself.api_key.<a href="./src/codex/resources/users/myself/api_key.py">retrieve</a>() -> <a href="./src/codex/types/user.py">User</a></code>
- <code title="get /api/users/myself/api-key">client.users.myself.api_key.<a href="./src/codex/resources/users/myself/api_key.py">retrieve</a>() -> <a href="./src/codex/types/users/user_schema_public.py">UserSchemaPublic</a></code>
- <code title="post /api/users/myself/api-key/refresh">client.users.myself.api_key.<a href="./src/codex/resources/users/myself/api_key.py">refresh</a>() -> <a href="./src/codex/types/users/user_schema.py">UserSchema</a></code>

### Organizations
Expand Down Expand Up @@ -140,6 +140,8 @@ from codex.types import (
ProjectRetrieveResponse,
ProjectListResponse,
ProjectExportResponse,
ProjectIncrementQueriesResponse,
ProjectRetrieveAnalyticsResponse,
)
```

Expand All @@ -151,6 +153,8 @@ Methods:
- <code title="get /api/projects/">client.projects.<a href="./src/codex/resources/projects/projects.py">list</a>(\*\*<a href="src/codex/types/project_list_params.py">params</a>) -> <a href="./src/codex/types/project_list_response.py">ProjectListResponse</a></code>
- <code title="delete /api/projects/{project_id}">client.projects.<a href="./src/codex/resources/projects/projects.py">delete</a>(project_id) -> None</code>
- <code title="get /api/projects/{project_id}/export">client.projects.<a href="./src/codex/resources/projects/projects.py">export</a>(project_id) -> <a href="./src/codex/types/project_export_response.py">object</a></code>
- <code title="post /api/projects/{project_id}/increment_queries">client.projects.<a href="./src/codex/resources/projects/projects.py">increment_queries</a>(project_id) -> <a href="./src/codex/types/project_increment_queries_response.py">object</a></code>
- <code title="get /api/projects/{project_id}/analytics/">client.projects.<a href="./src/codex/resources/projects/projects.py">retrieve_analytics</a>(project_id, \*\*<a href="src/codex/types/project_retrieve_analytics_params.py">params</a>) -> <a href="./src/codex/types/project_retrieve_analytics_response.py">ProjectRetrieveAnalyticsResponse</a></code>

## AccessKeys

Expand Down Expand Up @@ -179,7 +183,7 @@ Methods:
Types:

```python
from codex.types.projects import Entry, EntryQueryResponse
from codex.types.projects import Entry, EntryNotifySmeResponse, EntryQueryResponse
```

Methods:
Expand All @@ -188,7 +192,10 @@ Methods:
- <code title="get /api/projects/{project_id}/entries/{entry_id}">client.projects.entries.<a href="./src/codex/resources/projects/entries.py">retrieve</a>(entry_id, \*, project_id) -> <a href="./src/codex/types/projects/entry.py">Entry</a></code>
- <code title="put /api/projects/{project_id}/entries/{entry_id}">client.projects.entries.<a href="./src/codex/resources/projects/entries.py">update</a>(entry_id, \*, project_id, \*\*<a href="src/codex/types/projects/entry_update_params.py">params</a>) -> <a href="./src/codex/types/projects/entry.py">Entry</a></code>
- <code title="delete /api/projects/{project_id}/entries/{entry_id}">client.projects.entries.<a href="./src/codex/resources/projects/entries.py">delete</a>(entry_id, \*, project_id) -> None</code>
- <code title="post /api/projects/{project_id}/entries/{entry_id}/notifications">client.projects.entries.<a href="./src/codex/resources/projects/entries.py">notify_sme</a>(entry_id, \*, project_id, \*\*<a href="src/codex/types/projects/entry_notify_sme_params.py">params</a>) -> <a href="./src/codex/types/projects/entry_notify_sme_response.py">EntryNotifySmeResponse</a></code>
- <code title="put /api/projects/{project_id}/entries/{entry_id}/publish_draft_answer">client.projects.entries.<a href="./src/codex/resources/projects/entries.py">publish_draft_answer</a>(entry_id, \*, project_id) -> <a href="./src/codex/types/projects/entry.py">Entry</a></code>
- <code title="post /api/projects/{project_id}/entries/query">client.projects.entries.<a href="./src/codex/resources/projects/entries.py">query</a>(project_id, \*\*<a href="src/codex/types/projects/entry_query_params.py">params</a>) -> <a href="./src/codex/types/projects/entry_query_response.py">EntryQueryResponse</a></code>
- <code title="put /api/projects/{project_id}/entries/{entry_id}/unpublish_answer">client.projects.entries.<a href="./src/codex/resources/projects/entries.py">unpublish_answer</a>(entry_id, \*, project_id) -> <a href="./src/codex/types/projects/entry.py">Entry</a></code>

## Clusters

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "codex-sdk"
version = "0.1.0-alpha.16"
version = "0.1.0-alpha.17"
description = "Internal SDK used within cleanlab-codex package. Refer to https://pypi.org/project/cleanlab-codex/ instead."
dynamic = ["readme"]
license = "MIT"
Expand Down
Loading