import autotab
from autotab.rest import ApiException
client = autotab.Client(
autotab.Configuration(
api_key = os.environ["AUTOTAB_API_KEY"]
)
)
try:
skill = await autotab.SkillApi(client).retrieve(
id="skill_923d8f38-be0d-4637-9fbe-46ec9cb48312"
)
print(f"skill: {skill.model_dump_json(indent=2)}")
except ApiException as e:
print(f"Exception: {e})
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"owner": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"inputs": []
}
import autotab
from autotab.rest import ApiException
client = autotab.Client(
autotab.Configuration(
api_key = os.environ["AUTOTAB_API_KEY"]
)
)
try:
skill = await autotab.SkillApi(client).retrieve(
id="skill_923d8f38-be0d-4637-9fbe-46ec9cb48312"
)
print(f"skill: {skill.model_dump_json(indent=2)}")
except ApiException as e:
print(f"Exception: {e})
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"owner": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"inputs": []
}
Your Autotab API key
Successful Response
The response is of type object
.