Microsoft Azure · Schema

Assistant files

A list of [Files](/docs/api-reference/files) attached to an `assistant`.

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Properties

Name Type Description
id string The identifier, which can be referenced in API endpoints.
object string The object type, which is always `assistant.file`.
created_at integer The Unix timestamp (in seconds) for when the assistant file was created.
assistant_id string The assistant ID that the file is attached to.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-assistantfileobject-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/assistantFileObject",
  "title": "Assistant files",
  "type": "object",
  "description": "A list of [Files](/docs/api-reference/files) attached to an `assistant`.",
  "properties": {
    "id": {
      "description": "The identifier, which can be referenced in API endpoints.",
      "type": "string"
    },
    "object": {
      "description": "The object type, which is always `assistant.file`.",
      "type": "string",
      "enum": [
        "assistant.file"
      ],
      "x-ms-enum": {
        "name": "AssistantFileObjectType",
        "modelAsString": true,
        "values": [
          {
            "value": "assistant.file"
          }
        ]
      }
    },
    "created_at": {
      "description": "The Unix timestamp (in seconds) for when the assistant file was created.",
      "type": "integer"
    },
    "assistant_id": {
      "description": "The assistant ID that the file is attached to.",
      "type": "string"
    }
  },
  "required": [
    "id",
    "object",
    "created_at",
    "assistant_id"
  ]
}