Represents an OpenAI agent environment file response for API interactions.
// Source: https://github.com/openai-php/client | License: MIT | Copyright Nuno Maduro <enunomaduro@gmail.com>
// Provided via justclaw.it.com; keep this notice with the code.
<?php
declare(strict_types=1);
namespace OpenAI\Responses\Agents\Environments\Files;
use OpenAI\Contracts\ResponseContract;
use OpenAI\Contracts\ResponseHasMetaInformationContract;
use OpenAI\Responses\Concerns\ArrayAccessible;
use OpenAI\Responses\Concerns\HasMetaInformation;
use OpenAI\Responses\Meta\MetaInformation;
use OpenAI\Testing\Responses\Concerns\Fakeable;
/**
* @phpstan-type AgentEnvironmentFileType array{object: 'agent.environment.file', environment_id: string, path: string, size_bytes: int}
*
* @implements ResponseContract<AgentEnvironmentFileType>
*/
final class AgentEnvironmentFileResponse impl
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key