Collections

Crea una colección

Crea la colección vacía, sin campos. Los campos se agregan después, uno por uno, con POST /collections/{collectionId}/fields.

post/collections

Request

  • Base URL: https://api.met.meteor.com.co/api/v1
  • URL: https://api.met.meteor.com.co/api/v1/collections
  • Auth: one of:
    • bearer (a scheme the document does not define)
    • HTTP bearer

Request body

artifact_configobject

Objeto de configuración que recibe el artifact al renderizar items

artifact_slugstring

Slug del artifact que renderiza los items en vista de grilla

descriptionstring
expose_to_agentboolean

Si false, la colección no se expone al LLM (contexto ni tools mcp_meteor_*) en ningún ejecutor. Default true.

folder_idstring

Carpeta donde se crea la colección; null/omitido = raíz

gradient_backgroundstring
met_photostring

URL de la imagen de la mascota Met de esta colección

namestring required
slugstring
visibility'private' | 'visible' | 'listed'

Example request

{
  "gradient_background": "linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%)",
  "name": "My Collection"
}

Response

successtrue required

Siempre true en una respuesta 2xx.

Example response

{
  "data": {
    "id": 12,
    "name": "Inmuebles"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.