Skip to content

Commit 04e75a2

Browse files
authored
docs(OpenAI): use proper header notation for Responses API (#596)
1 parent a2cc4eb commit 04e75a2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ foreach ($stream as $response) {
227227
}
228228
```
229229

230-
### `retrieve`
230+
#### `retrieve`
231231

232232
Retrieves a model response with the given ID.
233233

@@ -254,7 +254,7 @@ $response->truncation; // 'disabled'
254254
$response->toArray(); // ['id' => 'resp_67ccd2bed1ec8190b14f964abc054267', ...]
255255
```
256256

257-
### `cancel`
257+
#### `cancel`
258258

259259
Cancel a model response (background request) with the given ID.
260260

@@ -267,7 +267,7 @@ $response->status; // 'canceled'
267267
$response->toArray(); // ['id' => 'resp_67ccd2bed1ec8190b14f964abc054267', 'status' => 'canceled', ...]
268268
```
269269

270-
### `delete`
270+
#### `delete`
271271

272272
Deletes a model response with the given ID.
273273

@@ -281,7 +281,7 @@ $response->deleted; // true
281281
$response->toArray(); // ['id' => 'resp_67ccd2bed1ec8190b14f964abc054267', 'deleted' => true, ...]
282282
```
283283

284-
### `list`
284+
#### `list`
285285

286286
Lists input items for a response with the given ID. All events and their payloads can be found in [OpenAI docs](https://platform.openai.com/docs/api-reference/responses/list).
287287

0 commit comments

Comments
 (0)