Authorizations
Body
Request model to create a service.
The name of the service
"Weather tools"
The description of the service
"Service containing tools for fetching weather information"
The type of authentication to use for the service's tools
basic
, bearer
, custom_headers
, oauth2
"basic"
The values to use for the authentication, as a dict. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer, arbitrary header keys if auth type is custom_headers. or "client_id", "client_secret", and "auth_url" keys if auth type is oauth2. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)
Response
Successful Response
Response model for service operations. A service is a collection of tools.
The internal ID of the service
1
The name of the service
"Weather tools"
The description of the service
"Service containing tools for fetching weather information"
The timestamp of the most recent update to the service
"2024-01-01T12:00:00Z"
The email of the user who last updated the service
"user@email.com"
Names of tools that belong to the service
["hangup", "summary"]
The type of authentication to use for the service's tools
basic
, bearer
, custom_headers
, oauth2
"basic"
Auth value keys (values omitted for security)
["username", "password"]
Free text providing comment about what was updated
"Updated description to correct typo"