Skip to main content

Module api_client

Module api_client 

Source

Structs§

AgentInstructionsResponse
Response shape for the policies/agent-instructions endpoint.
ApiClient
CheckPoliciesRequest
CheckPoliciesResponse
CheckResultItem
CiPolicyResult
CiVerifyRequest
CiVerifyResponse
CommitVerifyResult
DeviceAuthResponse
DeviceStatusResponse
MeResponse
OrgMembership
One org the authenticated credential belongs to. org_name is the org slug (orgs.name server-side) used in URL paths; display_name is the human label. Wire shape of GET /api/v1/me/orgs.
RegisterRepoRequest
RegisterRepoResponse
RepoListItem
SessionCheckData

Enums§

GetMeError

Functions§

resolve_credentials
Resolve server URL and auth token from multiple sources. Priority: env var > credentials file > project config.toml Returns (server_url, auth_token).