Table of Contents

Interface IApiFileData

Namespace
Glitch9.AIDevKit

Interface for file data retrieved from various AI APIs. (e.g., /v1/files) This interface defines the properties that all file data should implement.

public interface IApiFileData

Properties

Api

Api Api { get; }

Property Value

Api

ByteSize

int ByteSize { get; }

Property Value

int

CreatedAt

UnixTime CreatedAt { get; }

Property Value

UnixTime

ExpiresAt

UnixTime ExpiresAt { get; }

Property Value

UnixTime

MimeType

MIMEType MimeType { get; }

Property Value

MIMEType

Uri

string Uri { get; }

Property Value

string

Methods

BuildMetadata()

SerializableMetadata BuildMetadata()

Returns

SerializableMetadata