mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
generated mdx
This commit is contained in:
parent
334a05071c
commit
9170031326
153 changed files with 10025 additions and 18 deletions
71
docs/docs/api/list-all-prompts.api.mdx
Normal file
71
docs/docs/api/list-all-prompts.api.mdx
Normal file
|
@ -0,0 +1,71 @@
|
|||
---
|
||||
id: list-all-prompts
|
||||
title: "List all prompts."
|
||||
description: "List all prompts."
|
||||
sidebar_label: "List all prompts."
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
api: eJztWG2P0zgQ/iujfAGkfQOBgNXppIXj7pBAu9oXpNOCkJtMG4NjB9vpblX1v98zTtJmu+Uo0n1B6n7ZNBnP6/PM2J5nnkPtbOCQHc+zJ0dH8q/gkHtdR+1sdpyd0Dsd4pl3VR3DeSdOubNRaavthJQxVLefD7K9TL6wjaJI1bXRuRJFh1+CaJtnIS+5UvIUZzVDvxt94TxiIXTU7KNufSlUHEop79UMQjpyFX68uvVnIBeih6+QuxvcZckUZgFKuxAo8m2kGx1Lmiqv1cgw1UblXDpTsA8H9KF7HUh5JmfNjEJT185HLuimZEtNkLREqO7TFejk7O1BttjLptCh20x0nmmka8L+nmsfWkl62AlQiArxScIjPd4jbXPPFTINsxALasqPxEIbx2dd/Dj6K6u/NUy6gBY91rAxdr5SUVSqQA9qUfTb0xf7hZ7ouF+qUP7+IEXR52CLCnW2F+vGBVXkxn3el9m2qkK+Yokoc2VpxMgn/NE2ZXRZpQpViSxqdfhc8Fg1ZljvkXOGlU0hd9/GygRe9+JVKwf1RUIq0osawpKHOR2oqxfpkMx3ypavka9WrgPcAv6ootCiXZmzASY7656/NdozinO9xMKwZsPc3gnt014WdTQSW8vFe9U86ZMDTrvG54yHGs9SXEENAORgmU5rtidv6TVkEXAC+N2kSq7fGVUpuogq/wrc/lRYibkDdze0j3u+L/tK5Qo2FB0ZgceyrSySC0839SehsJhnyN8AtdpOldHghKdKGQE0F/9fWwIJYxO2oO/fl5dn1EqjWRYJqV1GfkTLN94LrER4T8pWoregx1SV8jNhjACRk8xNqfNSsClBAzY2JkQCz+33ZCcxD83abGu5lRbTxlnpPGVTKbvvWRWJoYM1d9xJZLSI2eZbRPnwtG7h9IhO6Or8XRfMkPOAgWes5qkAwwsw2wYlltXINTEZDzXnaF85uTxvvGeYX/PrZ+DbVbiv1jJ5A0SnNH0nef1ApTGwm3yQ1k/nrpmUGBVjZ4y7CXT+52t6/uLoeRoKfKvAPB7iC1Bf2XulCoySBPGVP1siv2POk5ebmZMbDVYQWjtJo0DKHRbbWa9YtAIIEz3FYFOVa2xq2lFXvCPVjlS/GKmevFzZuwTS3wvSO2aFIbX+cQ04gQzxbc5cSNqEbDIcja50PKAzbBvgUAR61AQ7YZLJ6ftJ9ex7kyqwx9gnpFOoxDKPUZvG8i3yLfsu7tKwo9aOWr8QtZ4N59VbQTY8p4sW7Sv7Hb1O7kO+T0ZxQKcNkMCqSlNpxBg81qXzSdHTa7DfX9sD/4fiHal2pPq1SHW0ydoWFEosEaipSZBoutOXeL/hDL52f1MrjxM4CCxLsQLPpUNSsgknJqhY4sfh9PFhtwgv26kmC+ZZ48W9Msb6+PAQ83W/dAEu7hs5Ue6HdKLMXZUtPsk6OKzjLC38oyf19Sf5JmVOAOqPkasTKV10xU4gyAa3Ktn08YY7HuFGuIMSNcTtUHO6d0BgUw0lHy2t/YGInDbAbIvagfYBPEubA+3BcN8WvpDztvQEP1Z5f5mhPH+UOzOTDuHR3Vc+ko28Ac69mvRevZfzcEgAqZFHUFByInck3ynfndjnq463Ubgjp9x5HeLor63YSQWcd4W+bjNarxAk5ZT38/kIG6ArbxYLeY09lJ+1iOlvMFIlsQAtA71RSvyVZwLdPOd0f4HjSpOujtZ78WKIu7/eXALQ/wLZ60Bm
|
||||
sidebar_class_name: "get api-method"
|
||||
info_path: docs/api/llama-stack-specification
|
||||
custom_edit_url: null
|
||||
---
|
||||
|
||||
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
||||
import ParamsDetails from "@theme/ParamsDetails";
|
||||
import RequestSchema from "@theme/RequestSchema";
|
||||
import StatusCodes from "@theme/StatusCodes";
|
||||
import OperationTabs from "@theme/OperationTabs";
|
||||
import TabItem from "@theme/TabItem";
|
||||
import Heading from "@theme/Heading";
|
||||
|
||||
<Heading
|
||||
as={"h1"}
|
||||
className={"openapi__heading"}
|
||||
children={"List all prompts."}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<MethodEndpoint
|
||||
method={"get"}
|
||||
path={"/v1/prompts"}
|
||||
context={"endpoint"}
|
||||
>
|
||||
|
||||
</MethodEndpoint>
|
||||
|
||||
|
||||
|
||||
List all prompts.
|
||||
|
||||
<Heading
|
||||
id={"request"}
|
||||
as={"h2"}
|
||||
className={"openapi-tabs__heading"}
|
||||
children={"Request"}
|
||||
>
|
||||
</Heading>
|
||||
|
||||
<ParamsDetails
|
||||
parameters={[]}
|
||||
>
|
||||
|
||||
</ParamsDetails>
|
||||
|
||||
<RequestSchema
|
||||
title={"Body"}
|
||||
body={undefined}
|
||||
>
|
||||
|
||||
</RequestSchema>
|
||||
|
||||
<StatusCodes
|
||||
id={undefined}
|
||||
label={undefined}
|
||||
responses={{"200":{"description":"A ListPromptsResponse containing all prompts.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"prompt":{"type":"string","description":"The system prompt text with variable placeholders. Variables are only supported when using the Responses API."},"version":{"type":"integer","description":"Version (integer starting at 1, incremented on save)"},"prompt_id":{"type":"string","description":"Unique identifier formatted as 'pmpt_<48-digit-hash>'"},"variables":{"type":"array","items":{"type":"string"},"description":"List of prompt variable names that can be used in the prompt template"},"is_default":{"type":"boolean","default":false,"description":"Boolean indicating whether this version is the default version for this prompt"}},"additionalProperties":false,"required":["version","prompt_id","variables","is_default"],"title":"Prompt","description":"A prompt resource representing a stored OpenAI Compatible prompt template in Llama Stack."}}},"additionalProperties":false,"required":["data"],"title":"ListPromptsResponse","description":"Response model to list prompts."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
||||
>
|
||||
|
||||
</StatusCodes>
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue