Skip to main content

Seeds object schema

The seeds object allows you to query information about all seeds in a given job.

Arguments

When querying for seeds, the following arguments are available.

FieldTypeRequired?Description
uniqueIdString!YesNo description provided

Below we show some illustrative example queries and outline the schema of the seeds object.

Example query

The example query below pulls relevant information about all seeds in a given job. For instance, you can view load times.

{
job(id: 123) {
seeds {
uniqueId
name
executionTime
status
}
}
}

Fields

When querying for seeds, the following fields are available:

FieldTypeDescription
accountIdBigInt!The unique ID of the account in dbt Cloud that this node was generated for
aliasStringThe identifier of this table/view
childrenL1[String!]The list of nodes that depend on this seed
columns[CatalogColumn!]The columns for this seed
commentStringThe comment on this seed
compileCompletedAtDateTimeThe ISO timestamp when this seed completed compilation
compileStartedAtDateTimeThe ISO timestamp when this seed began compilation
compiledCodeStringThe compiled code for this seed
compiledSqlStringThe compiled SQL for this seed
databaseStringThe database where this table/view lives
dbtVersionStringThe version of dbt used to produce this node
descriptionStringThe user-supplied description for this node
environmentIdBigInt!The unique ID of the account in dbt Cloud that this node was generated for
errorStringThe error message if there was an error, else null
executeCompletedAtDateTimeThe ISO timestamp when this seed finished running
executeStartedAtDateTimeThe ISO timestamp when this seed began running
executionTimeFloatThe total time elapsed during the execution of this seed
jobIdBigInt!The unique ID of the account in dbt Cloud that this node was generated for
metaJSONObjectThe key-value store containing metadata relevant to this node
nameStringThe user-supplied name of this particular node
ownerStringThe owner of this seed
packageNameStringThe package name of this seed
projectIdBigInt!The unique ID of the account in dbt Cloud that this node was generated for
rawCodeStringThe raw code for this seed
rawSqlStringThe raw SQL for this seed
resourceTypeString!The resource type of this node
runElapsedTimeFloatThe elapsed time of the specific run step (dbt run) that generated this seed node
runGeneratedAtDateTimeThe timestamp when the run step (dbt run) was completed, ISO formatted timestamp
runIdBigInt!The unique ID of the account in dbt Cloud that this node was generated for
schemaStringThe schema where this table/view lives
skipBooleanTrue if this seed was skipped, otherwise false
stats[CatalogStat!]!The stats for this seed
statusStringThe database-reported status of this seed
tags[String!]The tags associated with this node
thread_idStringThe thread that ran the execution of this seed
typeStringThe type of this seed
uniqueIdString!The unique ID of this node
0