Skip to content

Commit 3bb10f3

Browse files
committed
update bundles
1 parent fff1cde commit 3bb10f3

2 files changed

Lines changed: 361 additions & 20 deletions

File tree

oas_docs/output/kibana.serverless.yaml

Lines changed: 168 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3779,10 +3779,42 @@ paths:
37793779
schema:
37803780
default: false
37813781
type: boolean
3782-
responses: {}
3782+
responses:
3783+
'200':
3784+
content:
3785+
application/json:
3786+
examples:
3787+
listSkillsResponseExample:
3788+
description: Example response returning a list of skills
3789+
value:
3790+
results:
3791+
- description: A built-in skill provided by the platform.
3792+
experimental: false
3793+
id: built-in-skill-id
3794+
name: Built-in Skill
3795+
readonly: true
3796+
referenced_content_count: 0
3797+
- description: A user-created skill for data analysis.
3798+
experimental: false
3799+
id: custom-skill-id
3800+
name: Custom Skill
3801+
readonly: false
3802+
referenced_content_count: 1
3803+
tool_ids:
3804+
- platform.core.search
3805+
description: Indicates a successful response
37833806
summary: List skills
37843807
tags:
37853808
- agent builder
3809+
x-codeSamples:
3810+
- lang: curl
3811+
source: |
3812+
curl \
3813+
-X GET "https://${KIBANA_URL}/api/agent_builder/skills" \
3814+
-H "Authorization: ApiKey ${API_KEY}"
3815+
- lang: Console
3816+
source: |
3817+
GET kbn:/api/agent_builder/skills
37863818
x-state: Technical Preview
37873819
x-metaTags:
37883820
- content: Kibana, Elastic Cloud Serverless
@@ -3808,6 +3840,16 @@ paths:
38083840
requestBody:
38093841
content:
38103842
application/json:
3843+
examples:
3844+
createSkillRequestExample:
3845+
description: Example request to create a user-defined skill
3846+
value:
3847+
content: You are an expert data analyst. Use the available tools to query and analyze data.
3848+
description: A skill for performing custom data analysis.
3849+
id: my-custom-skill
3850+
name: Custom Analysis Skill
3851+
tool_ids:
3852+
- platform.core.search
38113853
schema:
38123854
additionalProperties: false
38133855
type: object
@@ -3857,10 +3899,51 @@ paths:
38573899
- name
38583900
- description
38593901
- content
3860-
responses: {}
3902+
responses:
3903+
'200':
3904+
content:
3905+
application/json:
3906+
examples:
3907+
createSkillResponseExample:
3908+
description: Example response returning the created skill
3909+
value:
3910+
content: You are an expert data analyst. Use the available tools to query and analyze data.
3911+
description: A skill for performing custom data analysis.
3912+
experimental: false
3913+
id: my-custom-skill
3914+
name: Custom Analysis Skill
3915+
readonly: false
3916+
tool_ids:
3917+
- platform.core.search
3918+
description: Indicates a successful response
38613919
summary: Create a skill
38623920
tags:
38633921
- agent builder
3922+
x-codeSamples:
3923+
- lang: curl
3924+
source: |
3925+
curl \
3926+
-X POST "https://${KIBANA_URL}/api/agent_builder/skills" \
3927+
-H "Authorization: ApiKey ${API_KEY}" \
3928+
-H "kbn-xsrf: true" \
3929+
-H "Content-Type: application/json" \
3930+
-d '{
3931+
"id": "my-custom-skill",
3932+
"name": "Custom Analysis Skill",
3933+
"description": "A skill for performing custom data analysis.",
3934+
"content": "You are an expert data analyst.",
3935+
"tool_ids": ["platform.core.search"]
3936+
}'
3937+
- lang: Console
3938+
source: |
3939+
POST kbn:/api/agent_builder/skills
3940+
{
3941+
"id": "my-custom-skill",
3942+
"name": "Custom Analysis Skill",
3943+
"description": "A skill for performing custom data analysis.",
3944+
"content": "You are an expert data analyst.",
3945+
"tool_ids": ["platform.core.search"]
3946+
}
38643947
x-state: Technical Preview
38653948
x-metaTags:
38663949
- content: Kibana, Elastic Cloud Serverless
@@ -3945,10 +4028,35 @@ paths:
39454028
maxLength: 512
39464029
minLength: 1
39474030
type: string
3948-
responses: {}
4031+
responses:
4032+
'200':
4033+
content:
4034+
application/json:
4035+
examples:
4036+
getSkillResponseExample:
4037+
description: Example response returning a skill by ID
4038+
value:
4039+
content: You are an expert data analyst. Use the available tools to query and analyze data.
4040+
description: A skill for performing custom data analysis.
4041+
experimental: false
4042+
id: my-custom-skill
4043+
name: Custom Analysis Skill
4044+
readonly: false
4045+
tool_ids:
4046+
- platform.core.search
4047+
description: Indicates a successful response
39494048
summary: Get a skill by id
39504049
tags:
39514050
- agent builder
4051+
x-codeSamples:
4052+
- lang: curl
4053+
source: |
4054+
curl \
4055+
-X GET "https://${KIBANA_URL}/api/agent_builder/skills/{skillId}" \
4056+
-H "Authorization: ApiKey ${API_KEY}"
4057+
- lang: Console
4058+
source: |
4059+
GET kbn:/api/agent_builder/skills/{skillId}
39524060
x-state: Technical Preview
39534061
x-metaTags:
39544062
- content: Kibana, Elastic Cloud Serverless
@@ -3982,6 +4090,16 @@ paths:
39824090
requestBody:
39834091
content:
39844092
application/json:
4093+
examples:
4094+
updateSkillRequestExample:
4095+
description: Example request to update a user-defined skill
4096+
value:
4097+
content: Updated skill instructions content.
4098+
description: Updated description for the skill.
4099+
name: Updated Skill Name
4100+
tool_ids:
4101+
- platform.core.search
4102+
- platform.core.execute_esql
39854103
schema:
39864104
additionalProperties: false
39874105
type: object
@@ -4022,10 +4140,46 @@ paths:
40224140
type: string
40234141
maxItems: 100
40244142
type: array
4025-
responses: {}
4143+
responses:
4144+
'200':
4145+
content:
4146+
application/json:
4147+
examples:
4148+
updateSkillResponseExample:
4149+
description: Example response returning the updated skill
4150+
value:
4151+
content: Updated skill instructions content.
4152+
description: Updated description for the skill.
4153+
experimental: false
4154+
id: my-custom-skill
4155+
name: Updated Skill Name
4156+
readonly: false
4157+
tool_ids:
4158+
- platform.core.search
4159+
- platform.core.execute_esql
4160+
description: Indicates a successful response
40264161
summary: Update a skill
40274162
tags:
40284163
- agent builder
4164+
x-codeSamples:
4165+
- lang: curl
4166+
source: |
4167+
curl \
4168+
-X PUT "https://${KIBANA_URL}/api/agent_builder/skills/{skillId}" \
4169+
-H "Authorization: ApiKey ${API_KEY}" \
4170+
-H "kbn-xsrf: true" \
4171+
-H "Content-Type: application/json" \
4172+
-d '{
4173+
"name": "Updated Skill Name",
4174+
"description": "Updated description for the skill."
4175+
}'
4176+
- lang: Console
4177+
source: |
4178+
PUT kbn:/api/agent_builder/skills/{skillId}
4179+
{
4180+
"name": "Updated Skill Name",
4181+
"description": "Updated description for the skill."
4182+
}
40294183
x-state: Technical Preview
40304184
x-metaTags:
40314185
- content: Kibana, Elastic Cloud Serverless
@@ -77178,6 +77332,7 @@ paths:
7717877332
view: logs.errors-view
7717977333
type: query
7718077334
updated_at: '2025-01-20T14:00:00.000Z'
77335+
description: A list of all streams.
7718177336
summary: Get stream list
7718277337
tags:
7718377338
- streams
@@ -77214,7 +77369,9 @@ paths:
7721477369
properties: {}
7721577370
- nullable: true
7721677371
- {}
77217-
responses: {}
77372+
responses:
77373+
'200':
77374+
description: Streams were disabled successfully.
7721877375
summary: Disable streams
7721977376
tags:
7722077377
- streams
@@ -77251,7 +77408,9 @@ paths:
7725177408
properties: {}
7725277409
- nullable: true
7725377410
- {}
77254-
responses: {}
77411+
responses:
77412+
'200':
77413+
description: Streams were enabled successfully.
7725577414
summary: Enable streams
7725677415
tags:
7725777416
- streams
@@ -77288,7 +77447,9 @@ paths:
7728877447
properties: {}
7728977448
- nullable: true
7729077449
- {}
77291-
responses: {}
77450+
responses:
77451+
'200':
77452+
description: Streams were resynced successfully.
7729277453
summary: Resync streams
7729377454
tags:
7729477455
- streams

0 commit comments

Comments
 (0)