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,
ProjectDetectResponse,
ProjectInviteSmeResponse,
ProjectRetrieveAnalyticsResponse,
ProjectValidateResponse,
)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.create_from_template(**params) -> ProjectReturnSchemaclient.projects.detect(project_id, **params) -> ProjectDetectResponseclient.projects.export(project_id) -> objectclient.projects.invite_sme(project_id, **params) -> ProjectInviteSmeResponseclient.projects.retrieve_analytics(project_id, **params) -> ProjectRetrieveAnalyticsResponseclient.projects.validate(project_id, **params) -> ProjectValidateResponse
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 EvalListResponseMethods:
client.projects.evals.create(project_id, **params) -> ProjectReturnSchemaclient.projects.evals.update(path_eval_key, *, project_id, **params) -> ProjectReturnSchemaclient.projects.evals.list(project_id, **params) -> EvalListResponseclient.projects.evals.delete(eval_key, *, project_id) -> ProjectReturnSchema
Types:
from codex.types.projects import (
QueryLogRetrieveResponse,
QueryLogListResponse,
QueryLogAddUserFeedbackResponse,
QueryLogListByGroupResponse,
QueryLogListGroupsResponse,
QueryLogStartRemediationResponse,
QueryLogUpdateMetadataResponse,
)Methods:
client.projects.query_logs.retrieve(query_log_id, *, project_id) -> QueryLogRetrieveResponseclient.projects.query_logs.list(project_id, **params) -> SyncOffsetPageQueryLogs[QueryLogListResponse]client.projects.query_logs.add_user_feedback(query_log_id, *, project_id, **params) -> QueryLogAddUserFeedbackResponseclient.projects.query_logs.list_by_group(project_id, **params) -> QueryLogListByGroupResponseclient.projects.query_logs.list_groups(project_id, **params) -> SyncOffsetPageQueryLogGroups[QueryLogListGroupsResponse]client.projects.query_logs.start_remediation(query_log_id, *, project_id) -> QueryLogStartRemediationResponseclient.projects.query_logs.update_metadata(query_log_id, *, project_id, **params) -> QueryLogUpdateMetadataResponse
Types:
from codex.types.projects import (
RemediationCreateResponse,
RemediationRetrieveResponse,
RemediationListResponse,
RemediationEditAnswerResponse,
RemediationEditDraftAnswerResponse,
RemediationGetResolvedLogsCountResponse,
RemediationListResolvedLogsResponse,
RemediationPauseResponse,
RemediationPublishResponse,
RemediationUnpauseResponse,
)Methods:
client.projects.remediations.create(project_id, **params) -> RemediationCreateResponseclient.projects.remediations.retrieve(remediation_id, *, project_id) -> RemediationRetrieveResponseclient.projects.remediations.list(project_id, **params) -> SyncOffsetPageRemediations[RemediationListResponse]client.projects.remediations.delete(remediation_id, *, project_id) -> Noneclient.projects.remediations.edit_answer(remediation_id, *, project_id, **params) -> RemediationEditAnswerResponseclient.projects.remediations.edit_draft_answer(remediation_id, *, project_id, **params) -> RemediationEditDraftAnswerResponseclient.projects.remediations.get_resolved_logs_count(remediation_id, *, project_id) -> RemediationGetResolvedLogsCountResponseclient.projects.remediations.list_resolved_logs(remediation_id, *, project_id) -> RemediationListResolvedLogsResponseclient.projects.remediations.pause(remediation_id, *, project_id) -> RemediationPauseResponseclient.projects.remediations.publish(remediation_id, *, project_id) -> RemediationPublishResponseclient.projects.remediations.unpause(remediation_id, *, project_id) -> RemediationUnpauseResponse
Types:
from codex.types.projects.remediations import (
ExpertAnswerCreateResponse,
ExpertAnswerRetrieveResponse,
ExpertAnswerListResponse,
ExpertAnswerEditAnswerResponse,
ExpertAnswerEditDraftAnswerResponse,
ExpertAnswerPauseResponse,
ExpertAnswerPublishResponse,
ExpertAnswerUnpauseResponse,
)Methods:
client.projects.remediations.expert_answers.create(project_id, **params) -> ExpertAnswerCreateResponseclient.projects.remediations.expert_answers.retrieve(expert_answer_id, *, project_id) -> ExpertAnswerRetrieveResponseclient.projects.remediations.expert_answers.list(project_id, **params) -> SyncOffsetPageExpertAnswers[ExpertAnswerListResponse]client.projects.remediations.expert_answers.delete(expert_answer_id, *, project_id) -> Noneclient.projects.remediations.expert_answers.edit_answer(expert_answer_id, *, project_id, **params) -> ExpertAnswerEditAnswerResponseclient.projects.remediations.expert_answers.edit_draft_answer(expert_answer_id, *, project_id, **params) -> ExpertAnswerEditDraftAnswerResponseclient.projects.remediations.expert_answers.pause(expert_answer_id, *, project_id) -> ExpertAnswerPauseResponseclient.projects.remediations.expert_answers.publish(expert_answer_id, *, project_id) -> ExpertAnswerPublishResponseclient.projects.remediations.expert_answers.unpause(expert_answer_id, *, project_id) -> ExpertAnswerUnpauseResponse
Types:
from codex.types.projects.remediations import (
ExpertReviewCreateResponse,
ExpertReviewRetrieveResponse,
ExpertReviewListResponse,
ExpertReviewEditResponse,
)Methods:
client.projects.remediations.expert_reviews.create(project_id, **params) -> ExpertReviewCreateResponseclient.projects.remediations.expert_reviews.retrieve(expert_review_id, *, project_id) -> ExpertReviewRetrieveResponseclient.projects.remediations.expert_reviews.list(project_id, **params) -> SyncOffsetPageExpertReviews[ExpertReviewListResponse]client.projects.remediations.expert_reviews.delete(expert_review_id, *, project_id, **params) -> Noneclient.projects.remediations.expert_reviews.edit(expert_review_id, *, project_id, **params) -> ExpertReviewEditResponse