New: Kith open-sources its ATS.Read why
Skip to Content
Objects

AgentBillingPeriod

One month's charge for an agent a workspace hired.

type AgentBillingPeriod {
  agent: Agent!
  amountCents: Int!
  currency: String!
  id: ID!
  periodEnd: Date!
  periodStart: Date!
  status: AgentBillingStatus!
}

Fields

AgentBillingPeriod.agent · Agent! non-null object

The agent the charge is for.

AgentBillingPeriod.amountCents · Int! non-null scalar

The charge for the period, in cents of currency.

AgentBillingPeriod.currency · String! non-null scalar

The currency of the charge, as a lower-case ISO 4217 code. Always usd today.

AgentBillingPeriod.id · ID! non-null scalar

The id of this period.

AgentBillingPeriod.periodEnd · Date! non-null scalar

The day the period ends, one month after it starts.

AgentBillingPeriod.periodStart · Date! non-null scalar

The first day the period covers.

AgentBillingPeriod.status · AgentBillingStatus! non-null enum

Whether the charge has been invoiced or paid.

Member Of

AgentBillingPeriodEdge object · HireAgentPayload object · OpenAgentBillingPeriodsPayload object