Liking cljdoc? Tell your friends :D
Clojure only.

anthropic.organization

Clojure wrappers over the GA Organization API and beta-only administration APIs of the official Anthropic Java SDK: the organization itself plus users, API keys, external keys, invites, rate limits, service accounts, workspaces, workspace members/rate-limits/service-accounts, and identity federation (issuers, rules, and rule workspaces).

GA operations use the stable client path; beta-only administration operations remain under the beta client. Build a request as a Clojure map, get a Clojure map back. Errors follow anthropic.core's contract: API/IO failures are ex-info keyed :anthropic/error with the SDK exception as cause.

Deeply nested response sub-objects (an API key's principal/scope, an external key's provider config/attachment, a federation issuer's JWKS, a rule's match/target/attributes) are returned as full-fidelity Clojure data. For the matching request inputs, scalar fields are accepted as idiomatic maps; the richest union inputs (inline JWKS keys, Azure external-key configs, match claims) also accept a ready SDK object as an escape hatch.

Clojure wrappers over the GA Organization API and beta-only administration APIs of the
official Anthropic Java SDK: the organization itself plus users, API keys,
external keys, invites, rate limits, service accounts, workspaces, workspace
members/rate-limits/service-accounts, and identity federation (issuers, rules,
and rule workspaces).

GA operations use the stable client path; beta-only administration operations
remain under the beta client. Build a request as a
Clojure map, get a Clojure map back. Errors follow `anthropic.core`'s
contract: API/IO failures are ex-info keyed `:anthropic/error` with the SDK
exception as cause.

Deeply nested response sub-objects (an API key's principal/scope, an external
key's provider config/attachment, a federation issuer's JWKS, a rule's
match/target/attributes) are returned as full-fidelity Clojure data. For the
matching request inputs, scalar fields are accepted as idiomatic maps; the
richest union inputs (inline JWKS keys, Azure external-key configs, match
claims) also accept a ready SDK object as an escape hatch.
raw docstring

add-federation-rule-workspaceclj

(add-federation-rule-workspace client rule-id workspace-id)

Attach a workspace to a federation rule.

Attach a workspace to a federation rule.
sourceraw docstring

add-service-account-workspaceclj

(add-service-account-workspace client
                               service-account-id
                               {:keys [workspace-id workspace-role]})

Add a service account to a workspace with :workspace-role (a non-billing workspace role).

Add a service account to a workspace with `:workspace-role` (a non-billing
workspace role).
sourceraw docstring

add-telemetry-destination-workspaceclj

(add-telemetry-destination-workspace client destination-id workspace-id)

Add a workspace to a telemetry destination's workspace list.

Add a workspace to a telemetry destination's workspace list.
sourceraw docstring

add-workspace-memberclj

(add-workspace-member client workspace-id {:keys [user-id workspace-role]})

Add a user to a workspace with :workspace-role (a non-billing workspace role).

Add a user to a workspace with `:workspace-role` (a non-billing workspace
role).
sourceraw docstring

add-workspace-service-accountclj

(add-workspace-service-account client
                               workspace-id
                               {:keys [service-account-id workspace-role]})

Add a service account to a workspace with :workspace-role (non-billing).

Add a service account to a workspace with `:workspace-role` (non-billing).
sourceraw docstring

archive-federation-issuerclj

(archive-federation-issuer client issuer-id)

Archive a federation issuer by id. Returns the archived issuer.

Archive a federation issuer by id. Returns the archived issuer.
sourceraw docstring

archive-federation-ruleclj

(archive-federation-rule client rule-id)

Archive a federation rule by id. Returns the archived rule.

Archive a federation rule by id. Returns the archived rule.
sourceraw docstring

archive-service-accountclj

(archive-service-account client service-account-id)

Archive a service account by id. Returns the archived service account.

Archive a service account by id. Returns the archived service account.
sourceraw docstring

archive-workspaceclj

(archive-workspace client workspace-id)

Archive a workspace by id. Returns the archived workspace.

Archive a workspace by id. Returns the archived workspace.
sourceraw docstring

create-claude-tag-bundle-targetclj

(create-claude-tag-bundle-target client bundle-id req)

Attach a target to a Claude Tag bundle. Requires :target, a map such as {:type :slack-channel :slack-channel-id "C123"} or {:type :slack-workspace :slack-workspace-id "T456"}.

Attach a target to a Claude Tag bundle. Requires `:target`, a map such as
`{:type :slack-channel :slack-channel-id "C123"}` or
`{:type :slack-workspace :slack-workspace-id "T456"}`.
sourceraw docstring

create-claude-tag-slack-channelclj

(create-claude-tag-slack-channel client req)

Configure Claude Tag for a Slack channel. Requires :slack ({:channel-id ... :workspace-id ...}); optional :settings.

Configure Claude Tag for a Slack channel. Requires `:slack`
(`{:channel-id ... :workspace-id ...}`); optional `:settings`.
sourceraw docstring

create-external-keyclj

(create-external-key client
                     {:keys [display-name geo aws-provider-config
                             gcp-provider-config provider-config]})

Create an external key. Provide a provider config as one of :aws-provider-config/:gcp-provider-config (a key name string) or :provider-config (a ready SDK config object). Options: :display-name, :geo (:us).

Create an external key. Provide a provider config as one of
`:aws-provider-config`/`:gcp-provider-config` (a key name string) or
`:provider-config` (a ready SDK config object). Options: `:display-name`,
`:geo` (`:us`).
sourceraw docstring

create-federation-issuerclj

(create-federation-issuer client
                          {:keys [name issuer-url explicit-url-jwks jwks
                                  check-jti max-jwt-lifetime-seconds]})

Create a federation issuer. Requires :name and :issuer-url. JWKS via :explicit-url-jwks (a URL string) or :jwks (a ready SDK JWKS object). Optional :check-jti, :max-jwt-lifetime-seconds.

Create a federation issuer. Requires `:name` and `:issuer-url`. JWKS via
`:explicit-url-jwks` (a URL string) or `:jwks` (a ready SDK JWKS object).
Optional `:check-jti`, `:max-jwt-lifetime-seconds`.
sourceraw docstring

create-federation-ruleclj

(create-federation-rule client
                        {:keys [name issuer-id oauth-scope
                                token-lifetime-seconds target description
                                applies-to-all-workspaces workspace-id match]})

Create a federation rule. Requires :name, :issuer-id, :oauth-scope, :token-lifetime-seconds, and :target (a map {:service-account-id ...} or a ready SDK target). Optional :description, :applies-to-all-workspaces, :workspace-id, and :match (a map of :audience/:condition/ :subject-prefix/:claims, or a ready SDK match).

Create a federation rule. Requires `:name`, `:issuer-id`, `:oauth-scope`,
`:token-lifetime-seconds`, and `:target` (a map `{:service-account-id ...}`
or a ready SDK target). Optional `:description`, `:applies-to-all-workspaces`,
`:workspace-id`, and `:match` (a map of `:audience`/`:condition`/
`:subject-prefix`/`:claims`, or a ready SDK match).
sourceraw docstring

create-inviteclj

(create-invite client {:keys [email role rbac-group-ids]})

Create an organization invite. Requires :email and :role (one of the invite roles). Optional :rbac-group-ids (a seq of strings).

Create an organization invite. Requires `:email` and `:role` (one of the
invite roles). Optional `:rbac-group-ids` (a seq of strings).
sourceraw docstring

create-pluginclj

(create-plugin client changes)
source

create-rbac-groupclj

(create-rbac-group client changes)
source

create-service-accountclj

(create-service-account client {:keys [name description organization-role]})

Create a service account. Requires :name. Optional :description, :organization-role (:admin/:developer).

Create a service account. Requires `:name`. Optional `:description`,
`:organization-role` (`:admin`/`:developer`).
sourceraw docstring

create-telemetry-destinationclj

(create-telemetry-destination client req)

Create an OpenTelemetry destination. Requires :endpoint-url and :workspaces; optional :display-name, :headers, :traces, :betas.

Create an OpenTelemetry destination. Requires `:endpoint-url` and
`:workspaces`; optional `:display-name`, `:headers`, `:traces`, `:betas`.
sourceraw docstring

create-webhook-endpointclj

(create-webhook-endpoint client req)

Create an organization webhook endpoint. Requires :url and :enabled-events (keywords such as :user-profile-enforcement-action-opened); optional :name, :description, :betas. The returned map carries the :signing-secret, which is only shown once.

Create an organization webhook endpoint. Requires `:url` and
`:enabled-events` (keywords such as `:user-profile-enforcement-action-opened`);
optional `:name`, `:description`, `:betas`. The returned map carries the
`:signing-secret`, which is only shown once.
sourceraw docstring

create-workspaceclj

(create-workspace client
                  {:keys [name display-color external-key-id data-residency
                          tags]})

Create a workspace. Requires :name. Optional :display-color, :external-key-id, and :data-residency/:tags as ready SDK config objects.

Create a workspace. Requires `:name`. Optional `:display-color`,
`:external-key-id`, and `:data-residency`/`:tags` as ready SDK config objects.
sourceraw docstring

delete-claude-tag-bundle-targetclj

(delete-claude-tag-bundle-target client bundle-id target-id)

Detach a target from a Claude Tag bundle. Returns the delete response as a map.

Detach a target from a Claude Tag bundle. Returns the delete response as a map.
sourceraw docstring

delete-claude-tag-slack-channelclj

(delete-claude-tag-slack-channel client id)

Remove a Claude Tag Slack channel configuration. Returns the delete response as a map.

Remove a Claude Tag Slack channel configuration. Returns the delete response as a map.
sourceraw docstring

delete-external-keyclj

(delete-external-key client external-key-id)

Delete an external key by id. Returns the delete response as a map.

Delete an external key by id. Returns the delete response as a map.
sourceraw docstring

delete-inviteclj

(delete-invite client invite-id)

Delete an invite by id. Returns the delete response as a map.

Delete an invite by id. Returns the delete response as a map.
sourceraw docstring

delete-pluginclj

(delete-plugin client id)
source

delete-rbac-groupclj

(delete-rbac-group client id)
source

delete-spend-limitclj

(delete-spend-limit client id)
source

delete-telemetry-destinationclj

(delete-telemetry-destination client destination-id)

Delete a telemetry destination. Returns the delete response as a map.

Delete a telemetry destination. Returns the delete response as a map.
sourceraw docstring

delete-webhook-endpointclj

(delete-webhook-endpoint client webhook-endpoint-id)

Delete an organization webhook endpoint. Returns the delete response as a map.

Delete an organization webhook endpoint. Returns the delete response as a map.
sourceraw docstring

get-api-keyclj

(get-api-key client api-key-id)

Retrieve one organization API key by id.

Retrieve one organization API key by id.
sourceraw docstring

get-claude-tag-bundleclj

(get-claude-tag-bundle client bundle-id)

Retrieve one Claude Tag bundle by id.

Retrieve one Claude Tag bundle by id.
sourceraw docstring

get-claude-tag-bundle-targetclj

(get-claude-tag-bundle-target client bundle-id target-id)

Retrieve one target of a Claude Tag bundle.

Retrieve one target of a Claude Tag bundle.
sourceraw docstring

get-claude-tag-slack-channelclj

(get-claude-tag-slack-channel client id)
(get-claude-tag-slack-channel client id opts)

Retrieve a Claude Tag Slack channel. Options: :include-inherited.

Retrieve a Claude Tag Slack channel. Options: `:include-inherited`.
sourceraw docstring

get-claude-tag-slack-workspaceclj

(get-claude-tag-slack-workspace client id)
(get-claude-tag-slack-workspace client id opts)

Retrieve a Claude Tag Slack workspace. Options: :include-inherited.

Retrieve a Claude Tag Slack workspace. Options: `:include-inherited`.
sourceraw docstring

get-compliance-settingsclj

(get-compliance-settings client)

Retrieve organization compliance settings as {:state :enabled|:disabled}.

Retrieve organization compliance settings as `{:state :enabled|:disabled}`.
sourceraw docstring

get-external-keyclj

(get-external-key client external-key-id)

Retrieve one external key by id.

Retrieve one external key by id.
sourceraw docstring

get-federation-issuerclj

(get-federation-issuer client issuer-id)

Retrieve one federation issuer by id.

Retrieve one federation issuer by id.
sourceraw docstring

get-federation-ruleclj

(get-federation-rule client rule-id)

Retrieve one federation rule by id.

Retrieve one federation rule by id.
sourceraw docstring

get-inviteclj

(get-invite client invite-id)

Retrieve one invite by id.

Retrieve one invite by id.
sourceraw docstring

get-org-userclj

(get-org-user client user-id)

Retrieve one organization user by id.

Retrieve one organization user by id.
sourceraw docstring

get-organizationclj

(get-organization client)

Retrieve the caller's organization, as {:id ... :name ...}.

Retrieve the caller's organization, as `{:id ... :name ...}`.
sourceraw docstring

get-pluginclj

(get-plugin client id)
source

get-plugin-marketplaceclj

(get-plugin-marketplace client id)
source

get-rbac-groupclj

(get-rbac-group client id)
source

get-rbac-roleclj

(get-rbac-role client id)
source

get-service-accountclj

(get-service-account client service-account-id)

Retrieve one service account by id.

Retrieve one service account by id.
sourceraw docstring

get-spend-limitclj

(get-spend-limit client id)
source

get-telemetry-destinationclj

(get-telemetry-destination client destination-id)

Retrieve one telemetry destination by id.

Retrieve one telemetry destination by id.
sourceraw docstring

get-webhook-endpointclj

(get-webhook-endpoint client webhook-endpoint-id)

Retrieve one organization webhook endpoint by id.

Retrieve one organization webhook endpoint by id.
sourceraw docstring

get-workspaceclj

(get-workspace client workspace-id)

Retrieve one workspace by id.

Retrieve one workspace by id.
sourceraw docstring

get-workspace-memberclj

(get-workspace-member client workspace-id user-id)

Retrieve one workspace member by workspace id and user id.

Retrieve one workspace member by workspace id and user id.
sourceraw docstring

get-workspace-service-accountclj

(get-workspace-service-account client workspace-id service-account-id)

Retrieve a service account's membership in a workspace.

Retrieve a service account's membership in a workspace.
sourceraw docstring

list-analytics-artifactsclj

(list-analytics-artifacts client opts)
source

list-analytics-chat-projectsclj

(list-analytics-chat-projects client)
(list-analytics-chat-projects client opts)
source

list-analytics-connectorsclj

(list-analytics-connectors client)
(list-analytics-connectors client opts)
source

list-analytics-costclj

(list-analytics-cost client opts)

List cost analytics buckets. Takes the same options as list-analytics-usage; :group-by also accepts :cost-type and :token-type, and :order-by is :amount, :list-amount, or :time.

List cost analytics buckets. Takes the same options as
`list-analytics-usage`; `:group-by` also accepts `:cost-type` and
`:token-type`, and `:order-by` is `:amount`, `:list-amount`, or `:time`.
sourceraw docstring

list-analytics-cost-reportclj

(list-analytics-cost-report client opts)
source

list-analytics-pluginsclj

(list-analytics-plugins client)
(list-analytics-plugins client opts)
source

list-analytics-skillsclj

(list-analytics-skills client)
(list-analytics-skills client opts)
source

list-analytics-summariesclj

(list-analytics-summaries client opts)
source

list-analytics-usageclj

(list-analytics-usage client opts)

List token-usage analytics buckets. Requires :starting-at (an ISO-8601 instant). Options include :ending-at, :time-bucket-width (:minute/ :hour/:day, sent as 1m/1h/1d), :group-by (e.g. [:model :workspace-id]), actor and id filters (:actor-types, :actor-ids, :api-key-ids, :workspace-ids, :models, :products, :service-tiers, :speeds, ...), :exclude-deleted-users, :order, :order-by, :limit, and :page.

List token-usage analytics buckets. Requires `:starting-at` (an ISO-8601
instant). Options include `:ending-at`, `:time-bucket-width` (`:minute`/
`:hour`/`:day`, sent as `1m`/`1h`/`1d`), `:group-by` (e.g. `[:model :workspace-id]`), actor and id
filters (`:actor-types`, `:actor-ids`, `:api-key-ids`, `:workspace-ids`,
`:models`, `:products`, `:service-tiers`, `:speeds`, ...),
`:exclude-deleted-users`, `:order`, `:order-by`, `:limit`, and `:page`.
sourceraw docstring

list-analytics-usage-reportclj

(list-analytics-usage-report client opts)
source

list-analytics-user-cost-reportclj

(list-analytics-user-cost-report client opts)
source

list-analytics-user-usage-reportclj

(list-analytics-user-usage-report client opts)
source

list-analytics-usersclj

(list-analytics-users client)
(list-analytics-users client opts)
source

list-api-keysclj

(list-api-keys client)
(list-api-keys client
               {:keys [limit after-id before-id status workspace-id
                       created-by-user-id]})

List organization API keys. Options: :limit, :after-id, :before-id, :status (:active/:archived/:expired/:inactive), :workspace-id, :created-by-user-id.

List organization API keys. Options: `:limit`, `:after-id`, `:before-id`,
`:status` (`:active`/`:archived`/`:expired`/`:inactive`), `:workspace-id`,
`:created-by-user-id`.
sourceraw docstring

list-claude-tag-bundle-targetsclj

(list-claude-tag-bundle-targets client bundle-id)
(list-claude-tag-bundle-targets client bundle-id opts)

List the targets of a Claude Tag bundle. Options: :limit, :page, :betas.

List the targets of a Claude Tag bundle. Options: `:limit`, `:page`, `:betas`.
sourceraw docstring

list-claude-tag-bundlesclj

(list-claude-tag-bundles client)
(list-claude-tag-bundles client opts)

List Claude Tag bundles. Options: :limit, :page, :betas.

List Claude Tag bundles. Options: `:limit`, `:page`, `:betas`.
sourceraw docstring

list-claude-tag-slack-channelsclj

(list-claude-tag-slack-channels client opts)

List Claude Tag Slack channels. Requires :slack-workspace-id. Options: :slack-channel-id, :include-inherited, :limit, :page, :betas.

List Claude Tag Slack channels. Requires `:slack-workspace-id`. Options:
`:slack-channel-id`, `:include-inherited`, `:limit`, `:page`, `:betas`.
sourceraw docstring

list-claude-tag-slack-workspacesclj

(list-claude-tag-slack-workspaces client)
(list-claude-tag-slack-workspaces client opts)

List Claude Tag Slack workspaces. Options: :slack-workspace-id, :include-inherited, :limit, :page, :betas.

List Claude Tag Slack workspaces. Options: `:slack-workspace-id`,
`:include-inherited`, `:limit`, `:page`, `:betas`.
sourceraw docstring

list-external-keysclj

(list-external-keys client)
(list-external-keys client {:keys [limit page]})

List external keys. Options: :limit, :page.

List external keys. Options: `:limit`, `:page`.
sourceraw docstring

list-federation-issuersclj

(list-federation-issuers client)
(list-federation-issuers client {:keys [limit page include-archived]})

List federation issuers. Options: :limit, :page, :include-archived.

List federation issuers. Options: `:limit`, `:page`, `:include-archived`.
sourceraw docstring

list-federation-rule-workspacesclj

(list-federation-rule-workspaces client rule-id)
(list-federation-rule-workspaces client rule-id {:keys [limit page]})

List the workspaces attached to a federation rule. Options: :limit, :page.

List the workspaces attached to a federation rule. Options: `:limit`, `:page`.
sourceraw docstring

list-federation-rulesclj

(list-federation-rules client)
(list-federation-rules client {:keys [limit page include-archived issuer-id]})

List federation rules. Options: :limit, :page, :include-archived, :issuer-id.

List federation rules. Options: `:limit`, `:page`, `:include-archived`,
`:issuer-id`.
sourceraw docstring

list-invitesclj

(list-invites client)
(list-invites client {:keys [limit after-id before-id email roles statuses]})

List invites. Options: :limit, :after-id, :before-id, :email, :roles (seq of role strings), :statuses (seq of :accepted/:expired/ :pending).

List invites. Options: `:limit`, `:after-id`, `:before-id`, `:email`,
`:roles` (seq of role strings), `:statuses` (seq of `:accepted`/`:expired`/
`:pending`).
sourceraw docstring

list-org-usersclj

(list-org-users client)
(list-org-users client {:keys [limit after-id before-id email roles]})

List organization users. Options: :limit, :after-id, :before-id, :email, :roles (a seq of role strings).

List organization users. Options: `:limit`, `:after-id`, `:before-id`,
`:email`, `:roles` (a seq of role strings).
sourceraw docstring

list-plugin-installation-settingsclj

(list-plugin-installation-settings client plugin-id)
(list-plugin-installation-settings client plugin-id opts)
source

list-plugin-marketplacesclj

(list-plugin-marketplaces client)
(list-plugin-marketplaces client opts)
source

list-pluginsclj

(list-plugins client)
(list-plugins client opts)
source

list-rate-limitsclj

(list-rate-limits client)
(list-rate-limits client {:keys [limit page model group-type]})

List organization rate limits. Options: :limit, :page, :model, :group-type (:batch/:files/:model-group/:skills/:token-count/ :web-search).

List organization rate limits. Options: `:limit`, `:page`, `:model`,
`:group-type` (`:batch`/`:files`/`:model-group`/`:skills`/`:token-count`/
`:web-search`).
sourceraw docstring

list-rbac-groupsclj

(list-rbac-groups client)
(list-rbac-groups client opts)
source

list-rbac-rolesclj

(list-rbac-roles client)
(list-rbac-roles client opts)
source

list-service-account-workspacesclj

(list-service-account-workspaces client service-account-id)
(list-service-account-workspaces client service-account-id {:keys [limit page]})

List the workspaces a service account belongs to. Options: :limit, :page.

List the workspaces a service account belongs to. Options: `:limit`, `:page`.
sourceraw docstring

list-service-accountsclj

(list-service-accounts client)
(list-service-accounts client {:keys [limit page include-archived]})

List service accounts. Options: :limit, :page, :include-archived.

List service accounts. Options: `:limit`, `:page`, `:include-archived`.
sourceraw docstring

list-spend-limitsclj

(list-spend-limits client)
(list-spend-limits client opts)
source

list-telemetry-destination-workspacesclj

(list-telemetry-destination-workspaces client destination-id)
(list-telemetry-destination-workspaces client destination-id opts)

List the workspaces of a telemetry destination. Options: :limit, :page, :betas.

List the workspaces of a telemetry destination. Options: `:limit`, `:page`, `:betas`.
sourceraw docstring

list-telemetry-destinationsclj

(list-telemetry-destinations client)
(list-telemetry-destinations client opts)

List telemetry destinations. Options: :workspace-ids, :limit, :page, :betas.

List telemetry destinations. Options: `:workspace-ids`, `:limit`, `:page`, `:betas`.
sourceraw docstring

list-webhook-endpointsclj

(list-webhook-endpoints client)
(list-webhook-endpoints client opts)

List organization webhook endpoints. Options: :limit, :after-id, :before-id, :order (:asc/:desc), :betas.

List organization webhook endpoints. Options: `:limit`, `:after-id`,
`:before-id`, `:order` (`:asc`/`:desc`), `:betas`.
sourceraw docstring

list-workspace-membersclj

(list-workspace-members client workspace-id)
(list-workspace-members client workspace-id {:keys [limit after-id before-id]})

List a workspace's members. Options: :limit, :after-id, :before-id.

List a workspace's members. Options: `:limit`, `:after-id`, `:before-id`.
sourceraw docstring

list-workspace-rate-limitsclj

(list-workspace-rate-limits client workspace-id)
(list-workspace-rate-limits client workspace-id opts)

List a workspace's rate limits. Options: :limit, :page, :group-type, and :include-inherited.

List a workspace's rate limits. Options: `:limit`, `:page`, `:group-type`,
and `:include-inherited`.
sourceraw docstring

list-workspace-service-accountsclj

(list-workspace-service-accounts client workspace-id)
(list-workspace-service-accounts client workspace-id {:keys [limit page]})

List a workspace's service accounts. Options: :limit, :page.

List a workspace's service accounts. Options: `:limit`, `:page`.
sourceraw docstring

list-workspacesclj

(list-workspaces client)
(list-workspaces client opts)

List workspaces. Options: :limit, :after-id, :before-id, :include-archived, and :include-default.

List workspaces. Options: `:limit`, `:after-id`, `:before-id`,
`:include-archived`, and `:include-default`.
sourceraw docstring

regenerate-webhook-signing-secretclj

(regenerate-webhook-signing-secret client webhook-endpoint-id)

Rotate a webhook endpoint's signing secret. Returns {:signing-secret ...}.

Rotate a webhook endpoint's signing secret. Returns `{:signing-secret ...}`.
sourceraw docstring

remove-federation-rule-workspaceclj

(remove-federation-rule-workspace client rule-id workspace-id)

Detach a workspace from a federation rule. Returns the removal response map.

Detach a workspace from a federation rule. Returns the removal response map.
sourceraw docstring

remove-org-userclj

(remove-org-user client user-id)

Remove a user from the organization. Returns the removal response as a map.

Remove a user from the organization. Returns the removal response as a map.
sourceraw docstring

remove-plugin-installation-settingclj

(remove-plugin-installation-setting client plugin-id target)

Remove the installation setting of plugin-id for target (the id of the organization member, RBAC group, etc. the setting applies to).

Remove the installation setting of `plugin-id` for `target` (the id of the
organization member, RBAC group, etc. the setting applies to).
sourceraw docstring

remove-service-account-workspaceclj

(remove-service-account-workspace client service-account-id workspace-id)

Remove a service account from a workspace. Returns the removal response map.

Remove a service account from a workspace. Returns the removal response map.
sourceraw docstring

remove-telemetry-destination-workspaceclj

(remove-telemetry-destination-workspace client destination-id workspace-id)

Remove a workspace from a telemetry destination's workspace list.

Remove a workspace from a telemetry destination's workspace list.
sourceraw docstring

remove-workspace-memberclj

(remove-workspace-member client workspace-id user-id)

Remove a user from a workspace. Returns the removal response as a map.

Remove a user from a workspace. Returns the removal response as a map.
sourceraw docstring

remove-workspace-service-accountclj

(remove-workspace-service-account client workspace-id service-account-id)

Remove a service account from a workspace. Returns the removal response map.

Remove a service account from a workspace. Returns the removal response map.
sourceraw docstring

set-plugin-installation-settingclj

(set-plugin-installation-setting client plugin-id changes)
source

set-spend-limitclj

(set-spend-limit client changes)
source

test-telemetry-destinationclj

(test-telemetry-destination client destination-id)

Send a test export to a telemetry destination. Returns {:result {:type :success}} or a :failure result with its reason.

Send a test export to a telemetry destination. Returns `{:result {:type
:success}}` or a `:failure` result with its reason.
sourceraw docstring

update-api-keyclj

(update-api-key client api-key-id {:keys [name status]})

Update an API key's :name and/or :status (:active, :archived, :inactive).

Update an API key's `:name` and/or `:status` (`:active`, `:archived`,
`:inactive`).
sourceraw docstring

update-beta-workspace-rate-limitclj

(update-beta-workspace-rate-limit client
                                  workspace-id
                                  rate-limit-id
                                  {:keys [limits] :as changes})

Update a workspace rate limit through the beta organization API. Takes the same :limits as update-workspace-rate-limit.

Update a workspace rate limit through the beta organization API. Takes the
same `:limits` as `update-workspace-rate-limit`.
sourceraw docstring

update-claude-tag-slack-channelclj

(update-claude-tag-slack-channel client id changes)

Update a Claude Tag Slack channel's :settings.

Update a Claude Tag Slack channel's `:settings`.
sourceraw docstring

update-claude-tag-slack-workspaceclj

(update-claude-tag-slack-workspace client id changes)

Update a Claude Tag Slack workspace's :settings.

Update a Claude Tag Slack workspace's `:settings`.
sourceraw docstring

update-compliance-settingsclj

(update-compliance-settings client changes)

Update organization compliance settings with {:state :enabled|:disabled}.

Update organization compliance settings with `{:state :enabled|:disabled}`.
sourceraw docstring

update-external-keyclj

(update-external-key client
                     external-key-id
                     {:keys [display-name geo aws-provider-config
                             gcp-provider-config provider-config]})

Update an external key's :display-name, provider config (:aws-provider-config/:gcp-provider-config/:provider-config), or :geo.

Update an external key's `:display-name`, provider config
(`:aws-provider-config`/`:gcp-provider-config`/`:provider-config`), or `:geo`.
sourceraw docstring

update-federation-issuerclj

(update-federation-issuer client
                          issuer-id
                          {:keys [name issuer-url explicit-url-jwks jwks
                                  check-jti max-jwt-lifetime-seconds
                                  jwks-polling-disabled]})

Update a federation issuer's :name, :issuer-url, JWKS (:explicit-url-jwks/:jwks), :check-jti, :max-jwt-lifetime-seconds, or :jwks-polling-disabled.

Update a federation issuer's `:name`, `:issuer-url`, JWKS
(`:explicit-url-jwks`/`:jwks`), `:check-jti`, `:max-jwt-lifetime-seconds`, or
`:jwks-polling-disabled`.
sourceraw docstring

update-federation-ruleclj

(update-federation-rule client
                        rule-id
                        {:keys [name description oauth-scope
                                token-lifetime-seconds applies-to-all-workspaces
                                workspace-id target match]})

Update a federation rule's :name, :description, :oauth-scope, :token-lifetime-seconds, :applies-to-all-workspaces, :workspace-id, :target, or :match.

Update a federation rule's `:name`, `:description`, `:oauth-scope`,
`:token-lifetime-seconds`, `:applies-to-all-workspaces`, `:workspace-id`,
`:target`, or `:match`.
sourceraw docstring

update-org-userclj

(update-org-user client user-id {:keys [role]})

Update an organization user's :role (one of the organization roles).

Update an organization user's `:role` (one of the organization roles).
sourceraw docstring

update-pluginclj

(update-plugin client id changes)
source

update-plugin-marketplaceclj

(update-plugin-marketplace client id changes)
source

update-rbac-groupclj

(update-rbac-group client id changes)
source

update-service-accountclj

(update-service-account client
                        service-account-id
                        {:keys [description organization-role]})

Update a service account's :description and/or :organization-role.

Update a service account's `:description` and/or `:organization-role`.
sourceraw docstring

update-telemetry-destinationclj

(update-telemetry-destination client destination-id changes)

Update a telemetry destination's :display-name, :endpoint-url, :headers, :state, :traces, or :workspaces.

Update a telemetry destination's `:display-name`, `:endpoint-url`,
`:headers`, `:state`, `:traces`, or `:workspaces`.
sourceraw docstring

update-webhook-endpointclj

(update-webhook-endpoint client webhook-endpoint-id changes)

Update a webhook endpoint's :url, :name, :description, :enabled-events, or :state (:enabled/:disabled).

Update a webhook endpoint's `:url`, `:name`, `:description`,
`:enabled-events`, or `:state` (`:enabled`/`:disabled`).
sourceraw docstring

update-workspaceclj

(update-workspace client
                  workspace-id
                  {:keys [name display-color external-key-id data-residency
                          tags]})

Update a workspace's :name, :display-color, :external-key-id, or :data-residency/:tags (ready SDK config objects).

Update a workspace's `:name`, `:display-color`, `:external-key-id`, or
`:data-residency`/`:tags` (ready SDK config objects).
sourceraw docstring

update-workspace-memberclj

(update-workspace-member client workspace-id user-id {:keys [workspace-role]})

Update a workspace member's :workspace-role (any workspace role).

Update a workspace member's `:workspace-role` (any workspace role).
sourceraw docstring

update-workspace-rate-limitclj

(update-workspace-rate-limit client
                             workspace-id
                             rate-limit-id
                             {:keys [limits] :as changes})

Update a workspace rate limit. Requires :limits, a seq of {:type :requests-per-minute :value 100} maps; a nil :value clears that override. Returns the updated rate limit map.

Update a workspace rate limit. Requires `:limits`, a seq of
`{:type :requests-per-minute :value 100}` maps; a nil `:value` clears that
override. Returns the updated rate limit map.
sourceraw docstring

update-workspace-service-accountclj

(update-workspace-service-account client
                                  workspace-id
                                  service-account-id
                                  {:keys [workspace-role]})

Update a workspace service account's :workspace-role (a non-billing role).

Update a workspace service account's `:workspace-role` (a non-billing role).
sourceraw docstring

validate-external-keyclj

(validate-external-key client external-key-id)

Validate an external key by id. Returns the validation response as a map.

Validate an external key by id. Returns the validation response as a map.
sourceraw docstring

validate-plugin-marketplace-archiveclj

(validate-plugin-marketplace-archive client archive)
source

validate-plugin-marketplace-repositoryclj

(validate-plugin-marketplace-repository client repository-url opts)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close