Skip to content

Commit ba137a0

Browse files
committed
consistency
1 parent 1e4e482 commit ba137a0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

features/prompt-registry/overview.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,16 +430,16 @@ const all_prompts = promptLayerClient.templates.all({ page: 2 })
430430

431431
</CodeGroup>
432432

433-
You can filter prompts by release label using the `release_label` argument. This will return all prompts that have that release label:
433+
You can filter prompts by release label using the `label` argument. This will return all prompts that have that release label:
434434

435435
<CodeGroup>
436436

437437
```python Python SDK
438-
all_prompts = templates.all(release_label="prod")
438+
all_prompts = templates.all(label="prod")
439439
```
440440

441441
```js JavaScript
442-
const all_prompts = promptLayerClient.templates.all({ release_label: "prod" })
442+
const all_prompts = promptLayerClient.templates.all({ label: "prod" })
443443
```
444444

445445
</CodeGroup>

openapi.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1964,10 +1964,10 @@
19641964
},
19651965
{
19661966
"in": "query",
1967-
"name": "release_label",
1967+
"name": "label",
19681968
"schema": {
19691969
"type": "string",
1970-
"title": "Release Label"
1970+
"title": "Label"
19711971
},
19721972
"description": "Filter prompt templates by release label (e.g., 'prod', 'dev', 'staging')"
19731973
}

0 commit comments

Comments
 (0)