Types:
from codex.types import HealthCheckResponseMethods:
client.health.check() -> HealthCheckResponseclient.health.db() -> HealthCheckResponse
Types:
from codex.types import (
OrganizationSchemaPublic,
OrganizationListMembersResponse,
OrganizationRetrievePermissionsResponse,
)Methods:
client.organizations.retrieve(organization_id) -> OrganizationSchemaPublicclient.organizations.list_members(organization_id) -> OrganizationListMembersResponseclient.organizations.retrieve_permissions(organization_id) -> OrganizationRetrievePermissionsResponse
Types:
from codex.types.organizations import (
OrganizationBillingInvoicesSchema,
OrganizationBillingUsageSchema,
)Methods:
client.organizations.billing.invoices(organization_id) -> OrganizationBillingInvoicesSchemaclient.organizations.billing.usage(organization_id) -> OrganizationBillingUsageSchema
Types:
from codex.types.organizations.billing import OrganizationBillingCardDetailsMethods:
client.organizations.billing.card_details.retrieve(organization_id) -> Optional[OrganizationBillingCardDetails]
Types:
from codex.types.organizations.billing import OrganizationBillingSetupIntentMethods:
client.organizations.billing.setup_intent.create(organization_id) -> OrganizationBillingSetupIntent
Types:
from codex.types.organizations.billing import OrganizationBillingPlanDetailsMethods:
client.organizations.billing.plan_details.retrieve(organization_id) -> OrganizationBillingPlanDetails
Methods:
client.users.activate_account(**params) -> UserSchemaPublic
Types:
from codex.types.users import UserSchema, UserSchemaPublicMethods:
client.users.myself.retrieve() -> UserSchemaPublic
Methods:
client.users.myself.api_key.retrieve() -> UserSchemaPublicclient.users.myself.api_key.refresh() -> UserSchema
Types:
from codex.types.users.myself import UserOrganizationsSchemaMethods:
client.users.myself.organizations.list() -> UserOrganizationsSchema
Types:
from codex.types.users import VerificationResendResponseMethods:
client.users.verification.resend() -> VerificationResendResponse
Types:
from codex.types import (
ProjectReturnSchema,
ProjectRetrieveResponse,
ProjectListResponse,
ProjectExportResponse,
ProjectIncrementQueriesResponse,
ProjectRetrieveAnalyticsResponse,
)Methods:
client.projects.create(**params) -> ProjectReturnSchemaclient.projects.retrieve(project_id) -> ProjectRetrieveResponseclient.projects.update(project_id, **params) -> ProjectReturnSchemaclient.projects.list(**params) -> ProjectListResponseclient.projects.delete(project_id) -> Noneclient.projects.export(project_id) -> objectclient.projects.increment_queries(project_id) -> objectclient.projects.retrieve_analytics(project_id, **params) -> ProjectRetrieveAnalyticsResponse
Types:
from codex.types.projects import (
AccessKeySchema,
AccessKeyListResponse,
AccessKeyRetrieveProjectIDResponse,
)Methods:
client.projects.access_keys.create(project_id, **params) -> AccessKeySchemaclient.projects.access_keys.retrieve(access_key_id, *, project_id) -> AccessKeySchemaclient.projects.access_keys.update(access_key_id, *, project_id, **params) -> AccessKeySchemaclient.projects.access_keys.list(project_id) -> AccessKeyListResponseclient.projects.access_keys.delete(access_key_id, *, project_id) -> Noneclient.projects.access_keys.retrieve_project_id() -> AccessKeyRetrieveProjectIDResponseclient.projects.access_keys.revoke(access_key_id, *, project_id) -> None
Types:
from codex.types.projects import Entry, EntryNotifySmeResponse, EntryQueryResponseMethods:
client.projects.entries.create(project_id, **params) -> Entryclient.projects.entries.retrieve(entry_id, *, project_id) -> Entryclient.projects.entries.update(entry_id, *, project_id, **params) -> Entryclient.projects.entries.delete(entry_id, *, project_id) -> Noneclient.projects.entries.notify_sme(entry_id, *, project_id, **params) -> EntryNotifySmeResponseclient.projects.entries.publish_draft_answer(entry_id, *, project_id) -> Entryclient.projects.entries.query(project_id, **params) -> EntryQueryResponseclient.projects.entries.unpublish_answer(entry_id, *, project_id) -> Entry
Types:
from codex.types.projects import ClusterListResponse, ClusterListVariantsResponseMethods:
client.projects.clusters.list(project_id, **params) -> SyncOffsetPageClusters[ClusterListResponse]client.projects.clusters.list_variants(representative_entry_id, *, project_id) -> ClusterListVariantsResponse
Types:
from codex.types import TlmPromptResponse, TlmScoreResponseMethods:
client.tlm.prompt(**params) -> TlmPromptResponseclient.tlm.score(**params) -> TlmScoreResponse