OBJECT

MediaEntity

link GraphQL Schema definition

  • type MediaEntity {
  • # Tells if the entity instance is protected against delete (Entities that need to
  • # be present in the system at any time). Delete action still may fail if entity is
  • # deletable, due some other additional validations.
  • isDeleteProtected: Boolean!
  • # Unique identifier of entity.
  • id: ID!
  • # Specifies if the entity is considered deleted.
  • isDeleted: Boolean
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # Appointment this media is attached to. Set when activity_id resolves to an
  • # Appointment.
  • appointment: AppointmentEntity
  • # Task this media is attached to. Set when activity_id resolves to a Task.
  • task: TaskEntity
  • # Call this media belongs to (e.g. a recording or transcription).
  • call: CallEntity
  • # Id of the linked appointment or task, or empty when not linked to an activity.
  • activityId: ID
  • # Id of the linked call, or empty when not linked.
  • callId: ID
  • # Provider-specific metadata about the media (e.g. transcription identifiers,
  • # recording parameters).
  • data: JSONString
  • # Free-text description of the media.
  • description: String
  • # Error code reported by the calling/recording provider when processing failed;
  • # empty on success.
  • errorCode: Int
  • # Field whose values are strictly defined with an enumeration of values.
  • status: MediaStatusEnum
  • # Field whose values are strictly defined with an enumeration of values.
  • type: MediaTypeEnum
  • # Revision when entity was lastly changed.
  • revision: Int
  • # Id of the cloud object holding the audio recording, when available.
  • audioId: UUID
  • # Id of the cloud object holding the transcription payload, when available.
  • transcriptionFileId: UUID
  • # External transcription identifier from the calling provider.
  • transcriptionId: String
  • # Language requested for the transcription as a BCP-47 locale tag (e.g. "en-US",
  • # "de-DE"). Set when the transcription was requested.
  • transcriptionLanguage: String
  • # AI-generated summary of the transcription content.
  • transcriptionSummary: String
  • # Short-lived token for opening the transcription in the calling provider's
  • # viewer. Empty when no transcription is available.
  • getTranscriptionViewerToken: String!
  • # Checks which permissions current user has on concrete entity instance.
  • #
  • # Arguments
  • # permissions: [Not documented]
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • audio: CloudObjectEntity
  • transcriptionFile: CloudObjectEntity
  • }