GET
/
api
/
v1
/
services
/
{service_id}
import os
from syllable_sdk import SyllableSDK


with SyllableSDK(
    api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:

    res = ss_client.services.get_by_id(service_id=931598)

    # Handle response
    print(res)
{
  "name": "Weather tools",
  "description": "Service containing tools for fetching weather information",
  "id": 1,
  "last_updated_comments": "Updated description to correct typo",
  "last_updated": "2024-01-01T12:00:00Z",
  "last_updated_by": "user@email.com",
  "tools": [
    "hangup",
    "summary"
  ]
}

Authorizations

Syllable-API-Key
string
header
required

Path Parameters

service_id
integer
required

Response

200
application/json
Successful Response

Response model for service operations. A service is a collection of tools.