Download OpenAPI specification:Download
The public Abbey API. Used for integrating with Abbey and building interfaces to extend the Abbey platform. See https://docs.abbey.io for more information.
Grant Kits are what you configure in code to control and automatically right-size permissions for resources. A Grant Kit has 3 components:
Returns a list of the latest versions of each grant kit in the organization.
Grant Kits are sorted by creation date, descending.
Success
Authentication Failed
Rate Limited
Server Errored on Abbey's end
[- {
- "id": "gk_1234",
- "name": "null_grant",
- "current_version_id": "gkv_1234",
- "description": "description",
- "workflow": {
- "steps": [
- {
- "reviewers": {
- "one_of": [
- "alice@example.com"
]
}, - "skip_if": null
}
]
}, - "policies": [
- {
- "bundle": "github://example-org/example-repo/policies"
}
], - "output": {
- "location": "github://organization/repo/access.tf",
- "append": "resource \"null_resource\" \"null_grant_firmly_relieved_collie\" {\n}\n"
}, - "grants": [ ],
- "requests": [ ],
- "created_at": "2000-01-23T04:56:07.000+00:00",
- "updated_at": "2000-01-23T04:56:07.000+00:00"
}
]
Creates a new Grant Kit
Created
Request Failed
Authentication Failed
Request Conflict with another resource
Rate Limited
Server Errored on Abbey's end
{- "name": "my_grant_kit",
- "description": "My description",
- "workflow": {
- "steps": [
- {
- "reviewers": {
- "one_of": [
- "alice@example.com"
]
}, - "skip_if": null
}
]
}, - "policies": [
- {
- "bundle": "github://example-org/example-repo/policies"
}
], - "output": {
- "location": "github://organization/repo/access.tf",
- "append": "resource \"null_resource\" \"null_grant_firmly_relieved_collie\" {\n}\n"
}
}
{- "id": "gk_1234",
- "name": "null_grant",
- "current_version_id": "gkv_1234",
- "description": "description",
- "workflow": {
- "steps": [
- {
- "reviewers": {
- "one_of": [
- "alice@example.com"
]
}, - "skip_if": null
}
]
}, - "policies": [
- {
- "bundle": "github://example-org/example-repo/policies"
}
], - "output": {
- "location": "github://organization/repo/access.tf",
- "append": "resource \"null_resource\" \"null_grant_firmly_relieved_collie\" {\n}\n"
}, - "grants": [ ],
- "requests": [ ],
- "created_at": "2000-01-23T04:56:07.000+00:00",
- "updated_at": "2000-01-23T04:56:07.000+00:00"
}
Deletes the specified grant kit.
Success
Authentication Failed
Resource Not Found
Rate Limited
Server Errored on Abbey's end
{- "id": "gk_1234",
- "name": "null_grant",
- "current_version_id": "gkv_1234",
- "description": "description",
- "workflow": {
- "steps": [
- {
- "reviewers": {
- "one_of": [
- "alice@example.com"
]
}, - "skip_if": null
}
]
}, - "policies": [
- {
- "bundle": "github://example-org/example-repo/policies"
}
], - "output": {
- "location": "github://organization/repo/access.tf",
- "append": "resource \"null_resource\" \"null_grant_firmly_relieved_collie\" {\n}\n"
}, - "grants": [ ],
- "requests": [ ],
- "created_at": "2000-01-23T04:56:07.000+00:00",
- "updated_at": "2000-01-23T04:56:07.000+00:00"
}
Returns the details of a Grant Kit.
Success
Authentication Failed
Resource Not Found
Rate Limited
Server Errored on Abbey's end
{- "id": "gk_1234",
- "name": "null_grant",
- "current_version_id": "gkv_1234",
- "description": "description",
- "workflow": {
- "steps": [
- {
- "reviewers": {
- "one_of": [
- "alice@example.com"
]
}, - "skip_if": null
}
]
}, - "policies": [
- {
- "bundle": "github://example-org/example-repo/policies"
}
], - "output": {
- "location": "github://organization/repo/access.tf",
- "append": "resource \"null_resource\" \"null_grant_firmly_relieved_collie\" {\n}\n"
}, - "grants": [ ],
- "requests": [ ],
- "created_at": "2000-01-23T04:56:07.000+00:00",
- "updated_at": "2000-01-23T04:56:07.000+00:00"
}
Updates the specified grant kit.
Success
Request Failed
Authentication Failed
Resource Not Found
Request Conflict with another resource
Rate Limited
Server Errored on Abbey's end
{- "name": "my_grant_kit",
- "description": "description",
- "workflow": {
- "steps": [
- {
- "reviewers": [
- "alice@example.com"
], - "skip_if": null
}
]
}, - "policies": [
- {
- "bundle": "github://example-org/example-repo/policies"
}
], - "output": {
- "location": "github://organization/repo/access.tf",
- "append": "resource \"null_resource\" \"null_grant_firmly_relieved_collie\" {\n}\n"
}
}
{- "id": "gk_1234",
- "name": "null_grant",
- "current_version_id": "gkv_1234",
- "description": "description",
- "workflow": {
- "steps": [
- {
- "reviewers": {
- "one_of": [
- "alice@example.com"
]
}, - "skip_if": null
}
]
}, - "policies": [
- {
- "bundle": "github://example-org/example-repo/policies"
}
], - "output": {
- "location": "github://organization/repo/access.tf",
- "append": "resource \"null_resource\" \"null_grant_firmly_relieved_collie\" {\n}\n"
}, - "grants": [ ],
- "requests": [ ],
- "created_at": "2000-01-23T04:56:07.000+00:00",
- "updated_at": "2000-01-23T04:56:07.000+00:00"
}
Returns all versions of a grant kit.
Grant Kits are sorted by creation date, descending.
Success
Authentication Failed
Resource Not Found
Rate Limited
Server Errored on Abbey's end
[- {
- "id": "gkv_1234",
- "version": 1,
- "grant_kit_id": "gk_1234",
- "grant_kit_name": "null_grant",
- "description": "description",
- "workflow": {
- "steps": [
- {
- "reviewers": {
- "one_of": [
- "alice@example.com"
]
}, - "skip_if": null
}
]
}, - "policies": [
- {
- "bundle": "github://example-org/example-repo/policies"
}
], - "output": {
- "location": "github://organization/repo/access.tf",
- "append": "resource \"null_resource\" \"null_grant_firmly_relieved_collie\" {\n}\n"
}, - "created_at": "2000-01-23T04:56:07.000+00:00",
- "updated_at": "2000-01-23T04:56:07.000+00:00"
}
]
User metadata used for enriching data. Enriched data is used to write richer policies, workflows, and outputs.
Creates a new identity.
An identity represents a human, service, or workload.
Created
Request Failed
Authentication Failed
Request Conflict with another resource
Rate Limited
Server Errored on Abbey's end
{- "abbey_account": "alice@example.com",
- "source": "okta",
- "metadata": "{\"user_id\":\"UserId\"}"
}
{- "created_at": "2000-01-23T04:56:07.000+00:00",
- "id": "id"
}
Returns all Identities with enriched metadata in the org
Success
Authentication Failed
Resource Not Found
Rate Limited
Server Errored on Abbey's end
[- {
- "created_at": "2000-01-23T04:56:07.000+00:00",
- "id": "id"
}
]
Deletes the specified identity.
Success
Success
Authentication Failed
Resource Not Found
Rate Limited
Server Errored on Abbey's end
{- "type": "string",
- "code": "string",
- "message": "string",
- "param": "string",
- "doc_url": "string"
}
Returns the details of an identity.
Success
Authentication Failed
Resource Not Found
Rate Limited
Server Errored on Abbey's end
{- "created_at": "2000-01-23T04:56:07.000+00:00",
- "id": "id"
}
Updates an identity.
Success
Authentication Failed
Resource Not Found
Rate Limited
Server Errored on Abbey's end
{- "abbey_account": "alice@example.com",
- "source": "okta",
- "metadata": "{\"user_id\":\"UserId\"}"
}
{- "created_at": "2000-01-23T04:56:07.000+00:00",
- "id": "id"
}
Requests are Access Requests that users make to get access to a resource.
Returns a list of requests.
Requests are sorted by creation date, descending.
Success
Authentication Failed
Rate Limited
Server Errored on Abbey's end
[- {
- "id": "req_1234",
- "grant_id": "grant_1234",
- "grant_kit_id": "gk_1234",
- "grant_kit_version_id": "gkv_1234",
- "grant_kit_name": "my_grant_kit",
- "user_id": "user_1234",
- "reason": "Need temporary access.",
- "status": "approved",
- "reviews": null,
- "created_at": "2000-01-23T04:56:07.000+00:00",
- "updated_at": "2000-01-23T04:56:07.000+00:00",
}
]
Creates a new request.
You will need to pass in a Grant Kit ID as the target of this request. This will create a request against the latest version of the Grant Kit.
Grant Kit Versions are immutable and you won't be able to create a request against an older Grant Kit Version. If you want to do this, you will have to roll forward by creating a new Grant Kit Version.
Created
Request Failed
Authentication Failed
Request Conflict with another resource
Rate Limited
Server Errored on Abbey's end
{- "grant_kit_id": "gk_1234",
- "reason": "reason"
}
{- "id": "req_1234",
- "grant_id": "grant_1234",
- "grant_kit_id": "gk_1234",
- "grant_kit_version_id": "gkv_1234",
- "grant_kit_name": "my_grant_kit",
- "user_id": "user_1234",
- "reason": "Need temporary access.",
- "status": "approved",
- "reviews": null,
- "created_at": "2000-01-23T04:56:07.000+00:00",
- "updated_at": "2000-01-23T04:56:07.000+00:00",
}
Returns the details of a request.
Success
Authentication Failed
Resource Not Found
Rate Limited
Server Errored on Abbey's end
{- "id": "req_1234",
- "grant_id": "grant_1234",
- "grant_kit_id": "gk_1234",
- "grant_kit_version_id": "gkv_1234",
- "grant_kit_name": "my_grant_kit",
- "user_id": "user_1234",
- "reason": "Need temporary access.",
- "status": "approved",
- "reviews": null,
- "created_at": "2000-01-23T04:56:07.000+00:00",
- "updated_at": "2000-01-23T04:56:07.000+00:00",
}
Cancels the specified request.
Success
Request Failed
Authentication Failed
Resource Not Found
Request Conflict with another resource
Rate Limited
Server Errored on Abbey's end
{- "reason": "reason"
}
{- "id": "req_1234",
- "grant_id": "grant_1234",
- "grant_kit_id": "gk_1234",
- "grant_kit_version_id": "gkv_1234",
- "grant_kit_name": "my_grant_kit",
- "user_id": "user_1234",
- "reason": "Need temporary access.",
- "status": "approved",
- "reviews": null,
- "created_at": "2000-01-23T04:56:07.000+00:00",
- "updated_at": "2000-01-23T04:56:07.000+00:00",
}
Reviews are decisions made by a reviewer on an Access Request.
A Reviewer might approve or deny a request.
Returns a list of all the reviews sent to the user.
Reviews are sorted by creation date, descending.
Success
Authentication Failed
Rate Limited
Server Errored on Abbey's end
[- {
- "id": "rev_1234",
- "user_id": "user_1234",
- "user_email": "alice@example.com",
- "request_id": "req_1234",
- "status": "Approved",
- "request_reason": "please",
- "reason": "reason",
- "grant_kit_version_id": "gkv_1234",
- "grant_kit_name": "my_grant_kit",
- "grant_id": "grant_1234",
- "created_at": "2000-01-23T04:56:07.000+00:00",
- "updated_at": "2000-01-23T04:56:07.000+00:00"
}
]
Returns the details of a review
Success
Authentication Failed
Resource Not Found
Rate Limited
Server Errored on Abbey's end
{- "id": "rev_1234",
- "user_id": "user_1234",
- "user_email": "alice@example.com",
- "request_id": "req_1234",
- "status": "Approved",
- "request_reason": "please",
- "reason": "reason",
- "grant_kit_version_id": "gkv_1234",
- "grant_kit_name": "my_grant_kit",
- "grant_id": "grant_1234",
- "created_at": "2000-01-23T04:56:07.000+00:00",
- "updated_at": "2000-01-23T04:56:07.000+00:00"
}
Updates the specified review with an approval decision.
Success
Request Failed
Authentication Failed
Resource Not Found
Request Conflict with another resource
Rate Limited
Server Errored on Abbey's end
{- "reason": "approved for temporary access"
}
{- "id": "rev_1234",
- "user_id": "user_1234",
- "user_email": "alice@example.com",
- "request_id": "req_1234",
- "status": "Approved",
- "request_reason": "please",
- "reason": "reason",
- "grant_kit_version_id": "gkv_1234",
- "grant_kit_name": "my_grant_kit",
- "grant_id": "grant_1234",
- "created_at": "2000-01-23T04:56:07.000+00:00",
- "updated_at": "2000-01-23T04:56:07.000+00:00"
}
Updates the specified review with a deny decision.
Success
Request Failed
Authentication Failed
Resource Not Found
Request Conflict with another resource
Rate Limited
Server Errored on Abbey's end
{- "reason": "approved for temporary access"
}
{- "id": "rev_1234",
- "user_id": "user_1234",
- "user_email": "alice@example.com",
- "request_id": "req_1234",
- "status": "Approved",
- "request_reason": "please",
- "reason": "reason",
- "grant_kit_version_id": "gkv_1234",
- "grant_kit_name": "my_grant_kit",
- "grant_id": "grant_1234",
- "created_at": "2000-01-23T04:56:07.000+00:00",
- "updated_at": "2000-01-23T04:56:07.000+00:00"
}
Grants are permissions that reflect the result of an access request going through the process of evaluating policies and approval workflows where all approval conditions are met.
Grants may be revoked manually by a user or automatically if a time-based or attribute-based policy is included in the corresponding Grant Kit's policy.
Returns a list of all the grants belonging to a user.
Grants are sorted by creation date, descending. Creation date effectively means when the grant was approved.
Success
Authentication Failed
Rate Limited
Server Errored on Abbey's end
[- {
- "id": "grant_1234",
- "grant_kit_id": "gk_1234",
- "grant_kit_version_id": "gkv_1234",
- "user_id": "user_1234",
- "request_id": "req_1234",
- "organization_id": "org_1234",
- "deleted": false,
- "created_at": "2000-01-23T04:56:07.000+00:00",
- "updated_at": "2000-01-23T04:56:07.000+00:00"
}
]
Revokes the specified grant.
Success
Request Failed
Authentication Failed
Resource Not Found
Request Conflict with another resource
Rate Limited
Server Errored on Abbey's end
{- "id": "grant_1234",
- "grant_kit_id": "gk_1234",
- "grant_kit_version_id": "gkv_1234",
- "user_id": "user_1234",
- "request_id": "req_1234",
- "organization_id": "org_1234",
- "deleted": false,
- "created_at": "2000-01-23T04:56:07.000+00:00",
- "updated_at": "2000-01-23T04:56:07.000+00:00"
}
Returns the details of a grant.
Success
Authentication Failed
Resource Not Found
Request Conflict with another resource
Server Errored on Abbey's end
{- "id": "grant_1234",
- "grant_kit_id": "gk_1234",
- "grant_kit_version_id": "gkv_1234",
- "user_id": "user_1234",
- "request_id": "req_1234",
- "organization_id": "org_1234",
- "deleted": false,
- "created_at": "2000-01-23T04:56:07.000+00:00",
- "updated_at": "2000-01-23T04:56:07.000+00:00"
}
Returns a list of SAML connections. The connections are scoped by the current user and returned from Clerk
Success
Authentication Failed
Rate Limited
Server Errored on Abbey's end
{- "items": [
- {
- "id": "string",
- "name": "string",
- "provider": "string",
- "active": true,
- "sp_entity_id": "string",
- "acs_url": "string",
- "idp_entity_id": "string",
- "idp_sso_url": "string",
- "idp_certificate": "string"
}
]
}
Creates a new SAML connection
Created
Request Failed
Authentication Failed
Request Conflict with another resource
Rate Limited
Server Errored on Abbey's end
{- "name": "string",
- "domain": "string",
- "idp_entity_id": "string",
- "idp_sso_url": "string",
- "idp_certificate": "string"
}
{- "id": "string",
- "name": "string",
- "provider": "string",
- "active": true,
- "sp_entity_id": "string",
- "acs_url": "string",
- "idp_entity_id": "string",
- "idp_sso_url": "string",
- "idp_certificate": "string"
}
Checks whether a user has a SAML connection and then hydrates the connection from Clerk
Success
Authentication Failed
Resource Not Found
Rate Limited
Server Errored on Abbey's end
{- "id": "string",
- "name": "string",
- "provider": "string",
- "active": true,
- "sp_entity_id": "string",
- "acs_url": "string",
- "idp_entity_id": "string",
- "idp_sso_url": "string",
- "idp_certificate": "string"
}
Checks whether a user owns a SAML connection and then updates the SAML connection
Success
Authentication Failed
Resource Not Found
Rate Limited
Server Errored on Abbey's end
{- "name": "string",
- "domain": "string",
- "idp_entity_id": "string",
- "idp_sso_url": "string",
- "idp_certificate": "string",
- "active": true
}
{- "id": "string",
- "name": "string",
- "provider": "string",
- "active": true,
- "sp_entity_id": "string",
- "acs_url": "string",
- "idp_entity_id": "string",
- "idp_sso_url": "string",
- "idp_certificate": "string"
}
Deletes a SAML connection by its ID
Success
Authentication Failed
Resource Not Found
Rate Limited
Server Errored on Abbey's end
{- "type": "string",
- "code": "string",
- "message": "string",
- "param": "string",
- "doc_url": "string"
}
Creates a new Demo access
Created
Request Failed
Authentication Failed
Rate Limited
Server Errored on Abbey's end
{- "permission": "read_write",
- "email": "user@example.com"
}
{- "id": 0,
- "user_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Deletes the Demo access
Success
Authentication Failed
Resource Not Found
Rate Limited
Server Errored on Abbey's end
{- "permission": "read_write",
- "email": "user@example.com"
}
{- "id": 0,
- "user_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Receives slash commands initiated from the Abbey Slack App
Success
Success
Request Failed
Authentication Failed
Rate Limited
Server Errored on Abbey's end
{- "next": "string",
- "prev": "string",
- "items": [
- {
- "id": "id"
}, - {
- "id": "id"
}
]
}