Query
query Skill($id: ID!) {
skill(id: $id) {
id
name
description
syncGlobally
packageHash
files {
id
path
contentsBase64
executable
contentHash
createdAt
}
}
}Variables
{
"id": "id"
}Response
{
"data": {
"skill": {
"id": "id",
"name": "string",
"description": "string",
"syncGlobally": true,
"packageHash": "string",
"files": [
{
"id": "id",
"path": "string",
"contentsBase64": "string",
"executable": true,
"contentHash": "string",
"createdAt": "string"
}
]
}
}
}Queries
skill
Returns a skill, or null when it cannot be found.
QUERY
skill(id: ID!): SkillArguments
id
ID!
required
Identifier of the resource to return or affect.
Returns
id
ID!
Stable identifier for this skill.
name
String!
Display name of this skill.
description
String!
Human-readable description of this skill.
syncGlobally
Boolean!
Whether the sync globally condition is true for this skill.
packageHash
String!
The package hash associated with this skill.
files
[SkillFile!]!
Files associated with this skill.
groups
[SkillGroup!]!
Groups associated with this skill.
createdAt
String!
ISO 8601 timestamp when this skill was created.
updatedAt
String!
ISO 8601 timestamp when this skill was last updated.
Query
query Skill($id: ID!) {
skill(id: $id) {
id
name
description
syncGlobally
packageHash
files {
id
path
contentsBase64
executable
contentHash
createdAt
}
}
}Variables
{
"id": "id"
}Response
{
"data": {
"skill": {
"id": "id",
"name": "string",
"description": "string",
"syncGlobally": true,
"packageHash": "string",
"files": [
{
"id": "id",
"path": "string",
"contentsBase64": "string",
"executable": true,
"contentHash": "string",
"createdAt": "string"
}
]
}
}
}