MCPcopy
hub / github.com/openai/openai-python / retrieve

Method retrieve

src/openai/resources/responses/responses.py:1330–1344  ·  view source on GitHub ↗
(
        self,
        response_id: str,
        *,
        include: List[ResponseIncludable] | Omit = omit,
        include_obfuscation: bool | Omit = omit,
        starting_after: int | Omit = omit,
        stream: Literal[False] | Omit = omit,
        # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
        # The extra values given here take precedence over values defined on the client or passed to this method.
        extra_headers: Headers | None = None,
        extra_query: Query | None = None,
        extra_body: Body | None = None,
        timeout: float | httpx.Timeout | None | NotGiven = not_given,
    )

Source from the content-addressed store, hash-verified

1328
1329 @overload
1330 def retrieve(
1331 self,
1332 response_id: str,
1333 *,
1334 include: List[ResponseIncludable] | Omit = omit,
1335 include_obfuscation: bool | Omit = omit,
1336 starting_after: int | Omit = omit,
1337 stream: Literal[False] | Omit = omit,
1338 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1339 # The extra values given here take precedence over values defined on the client or passed to this method.
1340 extra_headers: Headers | None = None,
1341 extra_query: Query | None = None,
1342 extra_body: Body | None = None,
1343 timeout: float | httpx.Timeout | None | NotGiven = not_given,
1344 ) -> Response: ...
1345
1346 @overload
1347 def retrieve(

Callers 1

streamMethod · 0.95

Calls 3

path_templateFunction · 0.85
make_request_optionsFunction · 0.85
maybe_transformFunction · 0.85

Tested by

no test coverage detected