Get Deployment Skill
GET
/api/v1/deployments/{name}/skills/{skill}
const url = 'https://aura-api-eu.strangeworks.com/api/v1/deployments/example/skills/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://aura-api-eu.strangeworks.com/api/v1/deployments/example/skills/example \ --header 'Authorization: Bearer <token>'One skill in full, file bodies included.
Separate from the list route because the list deliberately carries filenames only: describing twenty skills should not ship every byte of all of them.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”name
required
Name
string
skill
required
Skill
string
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
SkillDetail
One skill in full. Unlike SkillSummary, files carries the bodies.
A separate shape rather than widening the summary, so listing twenty skills does not ship every byte of all of them to describe them.
object
description
required
Description
string
files
required
Files
object
key
additional properties
string
name
required
Name
string
Examplegenerated
{ "description": "example", "files": { "additionalProperty": "example" }, "name": "example"}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}