Books

Browse and search books, concepts, procedures, connections, and triggers.

View Books

get

This endpoint returns metadata for all books that are currently available in the runtime, including their names, versions, descriptions, authentication requirements, and capabilities.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Query parameters
page_sizeinteger · int32Optional

The maximum number of books to return.

page_tokenstringOptional

The token to use to retrieve the next page of books.

filterstringOptional

AIP-160 Filter expression https://google.aip.dev/160

Responses
chevron-right
200

A successful response.

application/json
next_page_tokenstringOptional

The token to use to retrieve the next page of books.

get
/api/v1/books

View Book Details

get

This endpoint provides comprehensive metadata about a particular book, including its description, author, icon, authentication mechanisms, configuration parameters, and capabilities.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
namestringRequired
versionstringRequired
Responses
chevron-right
200

A successful response.

application/json
get
/api/v1/books/{name}/{version}

View Book Procedures

get

This endpoint returns a list of all procedures (functions/operations) that can be invoked on the specified book, along with their signatures, input/output parameters, and metadata such as descriptions and examples.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
namestringRequired
versionstringRequired
Responses
chevron-right
200

A successful response.

application/json
get
/api/v1/books/{name}/{version}/procedures

View Tags

get

This endpoint returns a consolidated list of all tags used across all books in the library. Tags are used for categorizing and organizing books by functionality, domain, or other characteristics.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Responses
chevron-right
200

A successful response.

application/json
tagsstring[]Optional
get
/api/v1/tags

View Latest Books

get

This endpoint returns metadata for all books that are currently available in the runtime, including their names, versions, descriptions, authentication requirements, and capabilities.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Query parameters
page_sizeinteger · int32Optional

The maximum number of books to return.

page_tokenstringOptional

The token to use to retrieve the next page of books.

filterstringOptional

AIP-160 Filter expression https://google.aip.dev/160

Responses
chevron-right
200

A successful response.

application/json
next_page_tokenstringOptional

The token to use to retrieve the next page of books.

get
/api/v1/books:latest

View Book Versions

get

This endpoint returns a list of all version strings available for the specified book name.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
namestringRequired
Responses
chevron-right
200

A successful response.

application/json
versionsstring[]Optional
get
/api/v1/books/{name}/versions

View Book Concepts

get

This endpoint returns a list of concept descriptors defined by the specified book, which can be referenced by procedures as inputs or outputs.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
namestringRequired
versionstringRequired
Responses
chevron-right
200

A successful response.

application/json
get
/api/v1/books/{name}/{version}/concepts

View Workspace Books

get

This endpoint returns metadata for all books that are currently available in the runtime for the specified workspace, including their names, versions, descriptions, authentication requirements, and capabilities.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
Query parameters
page_sizeinteger · int32Optional

The maximum number of books to return.

page_tokenstringOptional

The token to use to retrieve the next page of books.

Responses
chevron-right
200

A successful response.

application/json
next_page_tokenstringOptional

The token to use to retrieve the next page of books.

get
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/books

View Workspace Book Procedures

get

This endpoint returns a list of all procedures (functions/operations) that can be invoked on the specified book in the workspace, along with their signatures, input/output parameters, and metadata such as descriptions and examples.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
namestringRequired
versionstringRequired
Responses
chevron-right
200

A successful response.

application/json
get
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/books/{name}/{version}/procedures

View Workspace Book Concepts

get

This endpoint returns a list of concept descriptors defined by the specified book in the workspace, which can be referenced by procedures as inputs or outputs.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
namestringRequired
versionstringRequired
Responses
chevron-right
200

A successful response.

application/json
get
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/books/{name}/{version}/concepts

View Connection Discoverables

get

This endpoint returns a list of entities (like database tables, API endpoints, file systems, etc.) that can be discovered from a specific book connection and potentially converted into executable procedures.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
connection_idstringRequired
Query parameters
searchstringOptional

A search term to filter the discoverables

offsetstring · uint64Optional

The starting point within the data set from which records will be returned. Used for pagination.

limitstring · uint64Optional

The maximum number of records to return from the data set. Used for pagination.

Responses
chevron-right
200

A successful response.

application/json
get
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/connections/{connection_id}/discoverables

Search Book Procedures

post

This endpoint returns ranked procedures that best match the provided query. Each result includes the owning book name and version, a full procedure descriptor, and a relevance score.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Body
querystringOptional
top_kinteger · int64Optional
max_distancenumber · floatOptional
Responses
chevron-right
200

A successful response.

application/json
post
/api/v1/procedures:search

Search Books

post

This endpoint returns ranked books that best match the provided query. Each result includes a full book descriptor and a relevance score.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Body
querystringOptional
top_kinteger · int64Optional
max_distancenumber · floatOptional
Responses
chevron-right
200

A successful response.

application/json
post
/api/v1/books:search

Search Book Concepts

post

This endpoint returns ranked concepts that best match the provided query. Each result includes the owning book name, version, a full concept descriptor, and a relevance score.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Body
querystringOptional
top_kinteger · int64Optional
max_distancenumber · floatOptional
Responses
chevron-right
200

A successful response.

application/json
post
/api/v1/concepts:search

Search Workspace Book Procedures

post

This endpoint returns ranked procedures that best match the provided query. Each result includes the owning book name and version, a full procedure descriptor, and a relevance score.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
Body
querystringOptional
top_kinteger · int64Optional
max_distancenumber · floatOptional
Responses
chevron-right
200

A successful response.

application/json
post
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/procedures:search

Search Connection Procedures

post

This endpoint returns ranked procedures that best match the provided query. Each result includes the owning book name and version, a full procedure descriptor, and a relevance score.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
connection_idstringRequired
Body
querystringOptional
top_kinteger · int64Optional
max_distancenumber · floatOptional
Responses
chevron-right
200

A successful response.

application/json
post
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/connections/{connection_id}/procedures:search

Search Workspace Books

post

This endpoint returns ranked books that best match the provided query. Each result includes a full book descriptor and a relevance score.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
Body
querystringOptional
top_kinteger · int64Optional
max_distancenumber · floatOptional
Responses
chevron-right
200

A successful response.

application/json
post
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/books:search

Search Workspace Book Concepts

post

This endpoint returns ranked concepts that best match the provided query. Each result includes the owning book name, version, a full concept descriptor, and a relevance score.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
Body
querystringOptional
top_kinteger · int64Optional
max_distancenumber · floatOptional
Responses
chevron-right
200

A successful response.

application/json
post
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/concepts:search

View Book Connections

get

This endpoint returns a list of all connections of a book version.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
book_namestringRequired
book_versionstringRequired
Query parameters
page_sizeinteger · int32Optional

The maximum number of connections to return.

page_tokenstringOptional

The token to use to retrieve the next page of connections.

Responses
chevron-right
200

A successful response.

application/json
next_page_tokenstringOptional

The token to use to retrieve the next page of connections.

get
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/books/{book_name}/{book_version}/connections

Create Book Connection

post

This endpoint adds a new book connection, which can be used to invoke procedures on the book.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
book_namestringRequired
book_versionstringRequired
Body
connection_namestringOptional
oauth_flowstring · enumOptionalDefault: OAuthFlowAuthorizationCodePossible values:
Responses
chevron-right
200

A successful response.

application/json
post
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/books/{book_name}/{book_version}/connections

Update Book Connection

put

This endpoint updates a book connection in the library.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
book_namestringRequired
book_versionstringRequired
connection_idstringRequired
Body
connection_namestringOptional
oauth_flowstring · enumOptionalDefault: OAuthFlowAuthorizationCodePossible values:
Responses
chevron-right
200

A successful response.

application/json
put
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/books/{book_name}/{book_version}/connections/{connection_id}

View Connection

get

This endpoint returns a specific book connection.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
connection_idstringRequired
Responses
chevron-right
200

A successful response.

application/json
get
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/connections/{connection_id}

View All Connections

get
Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
Query parameters
page_sizeinteger · int32Optional

The maximum number of connections to return.

page_tokenstringOptional

The token to use to retrieve the next page of connections.

filterstringOptional

AIP-160 Filtering https://google.aip.dev/160

Responses
chevron-right
200

A successful response.

application/json
next_page_tokenstringOptional

The token to use to retrieve the next page of connections.

get
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/connections

Upgrade Book Connection

put

This endpoint upgrades a book connection to a new version.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
book_namestringRequired
book_versionstringRequired
connection_idstringRequired
Body
new_book_versionstringOptional
Responses
chevron-right
200

A successful response.

application/json
put
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/books/{book_name}/{book_version}/connections/{connection_id}/upgrade

Authorize Connection

put

This endpoint generates a new authrization url for an existing book connection.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
connection_idstringRequired
Responses
chevron-right
200

A successful response.

application/json
put
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/connections/{connection_id}/authorize

Discover Connection Procedures

post

This endpoint allows books to discover and register new procedures at runtime by connecting to external APIs, databases, or services. The discovered procedures become available for invocation.

Supports:

  • Specification of what entities to discover

  • Dynamic procedure registration

Note: This will override any existing discoverables, and sending an empty list will remove all discoverables.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
connection_idstringRequired
Body
whatstring[]Optional
Responses
chevron-right
200

A successful response.

application/json
object · AresponsethatissenttoreplytoalibrarydiscoveryrequestOptional
post
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/connections/{connection_id}/discover

View Connection Procedures

get

This endpoint returns a list of all procedures (functions/operations) that can be invoked on the specified book connection in the workspace, along with their signatures, input/output parameters, and metadata such as descriptions and examples.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
connection_idstringRequired
Responses
chevron-right
200

A successful response.

application/json
get
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/connections/{connection_id}/procedures

Create Trigger Instance

post
Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
book_namestringRequired
book_versionstringRequired
connection_idstringRequired
Body
trigger_idstringOptional
namestringOptional
Responses
chevron-right
200

A successful response.

application/json
post
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/books/{book_name}/{book_version}/connections/{connection_id}/triggers

Set Trigger Automations

post
Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
trigger_instance_idstringRequired
Body
automation_idsstring[]Optional
connection_idstringOptional
Responses
chevron-right
200

A successful response.

application/json
post
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/triggers/{trigger_instance_id}/automations

Delete Trigger Instance

delete
Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
connection_idstringRequired
trigger_instance_idstringRequired
Responses
chevron-right
200

A successful response.

application/json
objectOptional
delete
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/connections/{connection_id}/triggers/{trigger_instance_id}

View Trigger Instances

get
Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
Query parameters
filterstringOptional

AIP-160 Filter expression https://google.aip.dev/160

Responses
chevron-right
200

A successful response.

application/json
get
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/triggers

View Connection User Info

get

This endpoint returns information about the user (email, username and other extra attributes) from a book that has already been connected.

Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
connection_idstringRequired
Responses
chevron-right
200

A successful response.

application/json
get
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/connections/{connection_id}/user-info

Last updated

Was this helpful?