Get Service By Id
Get a service by its ID
GET
/api/v1/services/{service_id}Authentication
Syllable-API-KeyrequiredSend Syllable-API-Key in the header.
Need a credential? Create or manage an API token in the Syllable Console.
Parameters
Path parameters
service_id
integer
path
required
Responses
200Successful Response
application/json
response
ServiceResponse
required
9 fields
idintegerrequiredThe internal ID of the service
namestringrequiredThe name of the service
descriptionstringrequiredThe description of the service
auth_typeenum<string> | nulloptionalThe type of authentication to use for the service's tools
Allowed values
["basic","bearer","custom_headers","oauth2"]auth_value_keysstring[] | nulloptionalAuth value keys (values omitted for security)
Item schema
itemsstringrequiredlast_updated_commentsstring | nulloptionalFree text providing comment about what was updated
last_updatedstring (date-time)requiredThe timestamp of the most recent update to the service
last_updated_bystringrequiredThe email of the user who last updated the service
toolsstring[]requiredNames of tools that belong to the service
Item schema
itemsstringrequiredResponse example
{
"id": 0,
"name": "string",
"description": "string",
"auth_type": "string",
"auth_value_keys": "string",
"last_updated_comments": "string",
"last_updated": "string",
"last_updated_by": "string",
"tools": [
"string"
]
}422Validation Error
application/json
response
HTTPValidationError
required
1 field
detailValidationError[]optionalItem schema
itemsValidationErrorrequired3 fields
locstring | integer[]requiredItem schema
itemsstring | integerrequired2 options
Option 1stringrequiredOption 2integerrequiredmsgstringrequiredtypestringrequiredResponse example
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
