{"items":[{"type":"link","label":"Bagel Api","link":"/openapi","routeSlug":"/openapi","content":{"contentType":"overview","meta":{"name":"Bagel Api"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"openapi.json","url":"/_bundle/openapi.json?download"},{"kind":"download","label":"openapi.yaml","url":"/_bundle/openapi.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"externallink","title":"URL","titleTranslationKey":"info.contact.url","label":"https://developers.bagel.ai","url":"https://developers.bagel.ai"},{"kind":"email","title":"E-mail","titleTranslationKey":"info.contact.name","email":"support@getbagel.com","label":"support@getbagel.com","withCopyButton":true,"copyContent":"support@getbagel.com"},{"kind":"externallink","title":"License","titleTranslationKey":"info.license","label":"MIT","url":"https://opensource.org/license/mit/"}]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://api.bagel.ai"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Bagel Api (1.0.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":"Bagel API docs"}],"sectionId":"/openapi"}],"sectionId":"/openapi"}]}]}},{"type":"group","label":"Export API","link":"/openapi/export-api","routeSlug":"/openapi/export-api","items":[{"label":"Export ideas","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/export-api/exportideas","routeSlug":"/openapi/export-api/exportideas","metadata":{"seo":{"title":"Export ideas","description":"Export ideas based on date range."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"ExportIdeas","name":"Export ideas","isWebhook":false,"pointer":"/paths/~1export~1ideas/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Export ideas","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Export ideas based on date range."},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiToken","scopes":[],"type":"apiKey","in":"header","paramName":"authorization","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your secret API Token in the app settings."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"use the token as the value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"authorization"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header in the following format: Authorization: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Bearer {token}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_21"}},"schemaId":"schema_21","pointer":"/paths/~1export~1ideas/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/export/ideas","servers":[{"url":"https://api.bagel.ai"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiToken","type":"apiKey","name":"authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_21"}},"responseCodes":["200","400","401","500"],"pointer":"/export/ideas","href":"export-api/exportideas","openApiOperationId":"ExportIdeas","summary":"Export ideas"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.bagel.ai"}],"schemaId":"schema_21","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_21"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A list of ideas","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_22","exampleIds":["paths/~1export~1ideas/post/responses/200/content/application~1json/example"]}},"schemaId":"schema_22","exampleIds":["paths/~1export~1ideas/post/responses/200/content/application~1json/example"]},{"code":"400","description":"Invalid request payload."},{"code":"401","description":"Unauthorized. Auth token is required."},{"code":"500","description":"Internal server error."}],"pointer":"/paths/~1export~1ideas/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_22","exampleIds":["paths/~1export~1ideas/post/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_22","exampleIds":["paths/~1export~1ideas/post/responses/200/content/application~1json/example"]}}},{"code":"400"},{"code":"401"},{"code":"500"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/export-api/exportideas"}],"panels":[]}]},"httpPath":"/export/ideas"},{"label":"Export evidence","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/export-api/exportevidence","routeSlug":"/openapi/export-api/exportevidence","metadata":{"seo":{"title":"Export evidence","description":"Exports evidence based on date range."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"ExportEvidence","name":"Export evidence","isWebhook":false,"pointer":"/paths/~1export~1evidences/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Export evidence","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Exports evidence based on date range."},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiToken","scopes":[],"type":"apiKey","in":"header","paramName":"authorization","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your secret API Token in the app settings."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"use the token as the value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"authorization"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header in the following format: Authorization: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Bearer {token}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_23"}},"schemaId":"schema_23","pointer":"/paths/~1export~1evidences/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/export/evidences","servers":[{"url":"https://api.bagel.ai"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiToken","type":"apiKey","name":"authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_23"}},"responseCodes":["200","400","401","500"],"pointer":"/export/evidences","href":"export-api/exportevidence","openApiOperationId":"ExportEvidence","summary":"Export evidence"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.bagel.ai"}],"schemaId":"schema_23","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_23"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A list of evidence","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_24","exampleIds":["paths/~1export~1evidences/post/responses/200/content/application~1json/example"]}},"schemaId":"schema_24","exampleIds":["paths/~1export~1evidences/post/responses/200/content/application~1json/example"]},{"code":"400","description":"Invalid request payload."},{"code":"401","description":"Unauthorized. Auth token is required."},{"code":"500","description":"Internal server error."}],"pointer":"/paths/~1export~1evidences/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_24","exampleIds":["paths/~1export~1evidences/post/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_24","exampleIds":["paths/~1export~1evidences/post/responses/200/content/application~1json/example"]}}},{"code":"400"},{"code":"401"},{"code":"500"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/export-api/exportevidence"}],"panels":[]}]},"httpPath":"/export/evidences"}],"content":{"contentType":"group","meta":{"name":"Export API"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Export API","showPageActions":true},{"nodeType":"markdoc","content":"Export ideas / evidence"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/export/ideas","summary":"Export ideas","prefix":{"name":"post","color":"post"},"badges":[],"link":"/export-api/exportideas","deprecated":false},{"title":"/export/evidences","summary":"Export evidence","prefix":{"name":"post","color":"post"},"badges":[],"link":"/export-api/exportevidence","deprecated":false}]}]}]}]}},{"type":"group","label":"Sync API","link":"/openapi/sync-api","routeSlug":"/openapi/sync-api","items":[{"label":"Send feedback to Bagel","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/sync-api/ingestfeedbackitems","routeSlug":"/openapi/sync-api/ingestfeedbackitems","metadata":{"seo":{"title":"Send feedback to Bagel","description":"Receive a batch of original feedback items from an external integration and store them as original items in Bagel. Each item must have an originId, linkedAccountId, and createdAt."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"IngestFeedbackItems","name":"Send feedback to Bagel","isWebhook":false,"pointer":"/paths/~1sync~1feedback/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Send feedback to Bagel","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Receive a batch of original feedback items from an external integration and store them as original items in Bagel. Each item must have an originId, linkedAccountId, and createdAt."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The record schema depends on the feedbackCategory value:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"call"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Use the CallRecord schema — includes conversation-specific fields such as parties, transcript parts, duration, etc."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"All other categories"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Use the GenericFeedbackRecord schema."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Transcript for calls:"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" Call records support two transcript options — choose one:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Structured parts"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (recommended): Provide an array of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ConversationPart"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" objects in the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"parts"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field, each representing a speaker segment with timestamps."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Full text transcript"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Provide the full transcript as a string in the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"transcript"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field. Default expected format: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Speaker Name (H:mm:ss): text"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with each segment separated by double newlines. We support additional transcript formats — contact us to configure parsing for your specific format."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Community votes / parent-child:"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" If your integration object is configured with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"parentObjectKey"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", each record in this object is treated as a child (e.g. an upvote). Bagel composes a unique storage "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"originId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"<originId>-<linkedAccountId>-<submitterEmail>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (empty placeholders preserved) and sets "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"parentOriginId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to the value of the field named by your object's "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"externalParentIdField"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" configuration (defaults to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"originParentId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — so by default the record carries the parent's originId in a field named "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"originParentId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). The vote is then linked to the parent record sharing that "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"originId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" on the parent object. If you also supply "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ideaId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", the record is linked directly to that existing Bagel Idea."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiToken","scopes":[],"type":"apiKey","in":"header","paramName":"authorization","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your secret API Token in the app settings."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"use the token as the value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"authorization"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header in the following format: Authorization: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Bearer {token}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_25","exampleIds":["paths/~1sync~1feedback/post/requestBody/content/application~1json/examples/callExample","paths/~1sync~1feedback/post/requestBody/content/application~1json/examples/genericExample"]}},"schemaId":"schema_25","exampleIds":["paths/~1sync~1feedback/post/requestBody/content/application~1json/examples/callExample","paths/~1sync~1feedback/post/requestBody/content/application~1json/examples/genericExample"],"pointer":"/paths/~1sync~1feedback/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/sync/feedback","servers":[{"url":"https://api.bagel.ai"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiToken","type":"apiKey","name":"authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_25","exampleIds":["paths/~1sync~1feedback/post/requestBody/content/application~1json/examples/callExample","paths/~1sync~1feedback/post/requestBody/content/application~1json/examples/genericExample"]}},"responseCodes":["200","400","401","500"],"pointer":"/sync/feedback","href":"sync-api/ingestfeedbackitems","openApiOperationId":"IngestFeedbackItems","summary":"Send feedback to Bagel"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.bagel.ai"}],"schemaId":"schema_25","exampleIds":["paths/~1sync~1feedback/post/requestBody/content/application~1json/examples/callExample","paths/~1sync~1feedback/post/requestBody/content/application~1json/examples/genericExample"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_25","exampleIds":["paths/~1sync~1feedback/post/requestBody/content/application~1json/examples/callExample","paths/~1sync~1feedback/post/requestBody/content/application~1json/examples/genericExample"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Feedback items processed successfully","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_26","exampleIds":["paths/~1sync~1feedback/post/responses/200/content/application~1json/example"]}},"schemaId":"schema_26","exampleIds":["paths/~1sync~1feedback/post/responses/200/content/application~1json/example"]},{"code":"400","description":"Invalid request or missing mandatory parameters"},{"code":"401","description":"Unauthorized"},{"code":"500","description":"Internal server error"}],"pointer":"/paths/~1sync~1feedback/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_26","exampleIds":["paths/~1sync~1feedback/post/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_26","exampleIds":["paths/~1sync~1feedback/post/responses/200/content/application~1json/example"]}}},{"code":"400"},{"code":"401"},{"code":"500"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/sync-api/ingestfeedbackitems"}],"panels":[]}]},"httpPath":"/sync/feedback"}],"content":{"contentType":"group","meta":{"name":"Sync API"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Sync API","showPageActions":true},{"nodeType":"markdoc","content":"Sync feedback items into Bagel"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/sync/feedback","summary":"Send feedback to Bagel","prefix":{"name":"post","color":"post"},"badges":[],"link":"/sync-api/ingestfeedbackitems","deprecated":false}]}]}]}]}},{"type":"group","label":"Evidences API","link":"/openapi/evidences-api","routeSlug":"/openapi/evidences-api","items":[{"label":"List evidence","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/evidences-api/listevidences","routeSlug":"/openapi/evidences-api/listevidences","metadata":{"seo":{"title":"List evidence","description":"Returns a paginated, enriched list of evidence for the authenticated account. Supports cursor-style pagination via page/pageSize, sorting, and filtering by evidence id, component, owner, idea, account/org, origin, origin id, business name, creation and update date ranges, and lifecycle state."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"ListEvidences","name":"List evidence","isWebhook":false,"pointer":"/paths/~1v2~1evidences/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List evidence","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Returns a paginated, enriched list of evidence for the authenticated account. Supports cursor-style pagination via "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"page"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"/"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"pageSize"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", sorting, and filtering by evidence id, component, owner, idea, account/org, origin, origin id, business name, creation and update date ranges, and lifecycle state."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiToken","scopes":[],"type":"apiKey","in":"header","paramName":"authorization","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your secret API Token in the app settings."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"use the token as the value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"authorization"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header in the following format: Authorization: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Bearer {token}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_27","description":"1-based page number."},{"name":"pageSize","in":"query","schemaId":"schema_28","description":"Number of items per page."},{"name":"sortBy","in":"query","schemaId":"schema_29","description":"Field to sort by."},{"name":"sortDir","in":"query","schemaId":"schema_30","description":"Sort direction."},{"name":"ids","in":"query","schemaId":"schema_31","description":"Filter by evidence IDs (Bagel ObjectIds).","example":["5f8d0d55b54764421b7156c3","5f8d0d55b54764421b7156c4"]},{"name":"componentId","in":"query","schemaId":"schema_32","description":"Filter by product component (Bagel ObjectId)."},{"name":"ownerId","in":"query","schemaId":"schema_32","description":"Filter by evidence owner (Bagel user ObjectId)."},{"name":"ideaId","in":"query","schemaId":"schema_32","description":"Filter by linked idea (Bagel ObjectId)."},{"name":"orgId","in":"query","schemaId":"schema_32","description":"Filter by linked company/organization (Bagel ObjectId)."},{"name":"origin","in":"query","schemaId":"schema_33","description":"Filter by the source system the evidence originated from."},{"name":"originIds","in":"query","schemaId":"schema_34","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Filter by evidence IDs in the source system (the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"origin_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field)."},"children":[]}]}]}],"example":["SFOpporunityId-123","SFOpporunityId-456"]},{"name":"businessName","in":"query","schemaId":"schema_35","description":"Filter by business name."},{"name":"createdAtStart","in":"query","schemaId":"schema_36","description":"Return evidence created on or after this ISO 8601 date-time (inclusive)."},{"name":"createdAtEnd","in":"query","schemaId":"schema_37","description":"Return evidence created on or before this ISO 8601 date-time (inclusive)."},{"name":"updatedAtStart","in":"query","schemaId":"schema_36","description":"Return evidence updated on or after this ISO 8601 date-time (inclusive)."},{"name":"updatedAtEnd","in":"query","schemaId":"schema_37","description":"Return evidence updated on or before this ISO 8601 date-time (inclusive)."},{"name":"status","in":"query","schemaId":"schema_38","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Filter by lifecycle state. Accepts a comma-separated list (or repeated values) of evidence states plus the special value "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unassigned"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", which matches evidence not linked to any idea."},"children":[]}]}]}],"example":["inReview","unassigned"]}],"pointer":"/paths/~1v2~1evidences/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/evidences","servers":[{"url":"https://api.bagel.ai"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","required":false,"schemaId":"schema_27"},{"name":"pageSize","in":"query","required":false,"schemaId":"schema_28"},{"name":"sortBy","in":"query","required":false,"schemaId":"schema_29"},{"name":"sortDir","in":"query","required":false,"schemaId":"schema_30"},{"name":"ids","in":"query","required":false,"example":["5f8d0d55b54764421b7156c3","5f8d0d55b54764421b7156c4"],"schemaId":"schema_31","style":"form","explode":false},{"name":"componentId","in":"query","required":false,"schemaId":"schema_32"},{"name":"ownerId","in":"query","required":false,"schemaId":"schema_32"},{"name":"ideaId","in":"query","required":false,"schemaId":"schema_32"},{"name":"orgId","in":"query","required":false,"schemaId":"schema_32"},{"name":"origin","in":"query","required":false,"example":"salesforce","schemaId":"schema_33"},{"name":"originIds","in":"query","required":false,"example":["SFOpporunityId-123","SFOpporunityId-456"],"schemaId":"schema_34","style":"form","explode":false},{"name":"businessName","in":"query","required":false,"schemaId":"schema_35"},{"name":"createdAtStart","in":"query","required":false,"example":"2024-12-01T00:00:00.000Z","schemaId":"schema_36"},{"name":"createdAtEnd","in":"query","required":false,"example":"2024-12-26T00:00:00.000Z","schemaId":"schema_37"},{"name":"updatedAtStart","in":"query","required":false,"example":"2024-12-01T00:00:00.000Z","schemaId":"schema_36"},{"name":"updatedAtEnd","in":"query","required":false,"example":"2024-12-26T00:00:00.000Z","schemaId":"schema_37"},{"name":"status","in":"query","required":false,"example":["inReview","unassigned"],"schemaId":"schema_38","style":"form","explode":false}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiToken","type":"apiKey","name":"authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","500"],"pointer":"/v2/evidences","href":"evidences-api/listevidences","openApiOperationId":"ListEvidences","summary":"List evidence"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.bagel.ai"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A paginated list of evidence","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_39","exampleIds":["paths/~1v2~1evidences/get/responses/200/content/application~1json/example"]}},"schemaId":"schema_39","exampleIds":["paths/~1v2~1evidences/get/responses/200/content/application~1json/example"]},{"code":"400","description":"Invalid request or query parameters."},{"code":"401","description":"Unauthorized. Auth token is required."},{"code":"500","description":"Internal server error."}],"pointer":"/paths/~1v2~1evidences/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_39","exampleIds":["paths/~1v2~1evidences/get/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_39","exampleIds":["paths/~1v2~1evidences/get/responses/200/content/application~1json/example"]}}},{"code":"400"},{"code":"401"},{"code":"500"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/evidences-api/listevidences"}],"panels":[]}]},"httpPath":"/v2/evidences"},{"label":"Get evidence by id","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/evidences-api/getevidence","routeSlug":"/openapi/evidences-api/getevidence","metadata":{"seo":{"title":"Get evidence by id","description":"Returns one evidence for the authenticated account, in the same shape as an item of the /v2/evidences list."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"GetEvidence","name":"Get evidence by id","isWebhook":false,"pointer":"/paths/~1v2~1evidences~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get evidence by id","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Returns one evidence for the authenticated account, in the same shape as an item of the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/v2/evidences"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" list."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiToken","scopes":[],"type":"apiKey","in":"header","paramName":"authorization","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your secret API Token in the app settings."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"use the token as the value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"authorization"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header in the following format: Authorization: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Bearer {token}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_32","description":"Bagel ObjectId of the evidence.","required":true}],"pointer":"/paths/~1v2~1evidences~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/evidences/{id}","servers":[{"url":"https://api.bagel.ai"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_32"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiToken","type":"apiKey","name":"authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","404","500"],"pointer":"/v2/evidences/{id}","href":"evidences-api/getevidence","openApiOperationId":"GetEvidence","summary":"Get evidence by id"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.bagel.ai"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The evidence","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiEvidence"}},"schemaId":"components/schemas/ApiEvidence"},{"code":"400","description":"Invalid evidence id."},{"code":"401","description":"Unauthorized. Auth token is required."},{"code":"404","description":"Evidence not found."},{"code":"500","description":"Internal server error."}],"pointer":"/paths/~1v2~1evidences~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ApiEvidence","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiEvidence"}}},{"code":"400"},{"code":"401"},{"code":"404"},{"code":"500"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/evidences-api/getevidence"}],"panels":[]}]},"httpPath":"/v2/evidences/{id}"}],"content":{"contentType":"group","meta":{"name":"Evidences API"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Evidences API","showPageActions":true},{"nodeType":"markdoc","content":"List and filter evidence"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/v2/evidences","summary":"List evidence","prefix":{"name":"get","color":"get"},"badges":[],"link":"/evidences-api/listevidences","deprecated":false},{"title":"/v2/evidences/{id}","summary":"Get evidence by id","prefix":{"name":"get","color":"get"},"badges":[],"link":"/evidences-api/getevidence","deprecated":false}]}]}]}]}},{"type":"group","label":"Ideas API","link":"/openapi/ideas-api","routeSlug":"/openapi/ideas-api","items":[{"label":"List ideas","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/ideas-api/listideas","routeSlug":"/openapi/ideas-api/listideas","metadata":{"seo":{"title":"List ideas","description":"Returns a paginated, enriched list of ideas for the authenticated account. Supports pagination via page/pageSize, sorting, and filtering by component, owner, and creation date range. Only active ideas are returned."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"ListIdeas","name":"List ideas","isWebhook":false,"pointer":"/paths/~1v2~1ideas/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List ideas","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Returns a paginated, enriched list of ideas for the authenticated account. Supports pagination via "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"page"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"/"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"pageSize"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", sorting, and filtering by component, owner, and creation date range. Only active ideas are returned."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiToken","scopes":[],"type":"apiKey","in":"header","paramName":"authorization","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your secret API Token in the app settings."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"use the token as the value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"authorization"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header in the following format: Authorization: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Bearer {token}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_27","description":"1-based page number."},{"name":"pageSize","in":"query","schemaId":"schema_28","description":"Number of items per page."},{"name":"sortBy","in":"query","schemaId":"schema_29","description":"Field to sort by."},{"name":"sortDir","in":"query","schemaId":"schema_30","description":"Sort direction."},{"name":"componentId","in":"query","schemaId":"schema_32","description":"Filter by product component (Bagel ObjectId)."},{"name":"ownerId","in":"query","schemaId":"schema_32","description":"Filter by idea owner (Bagel user ObjectId)."},{"name":"createdAtStart","in":"query","schemaId":"schema_36","description":"Return ideas created on or after this ISO 8601 date-time (inclusive)."},{"name":"createdAtEnd","in":"query","schemaId":"schema_37","description":"Return ideas created on or before this ISO 8601 date-time (inclusive)."},{"name":"state","in":"query","schemaId":"schema_40","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Filter by idea state. Repeat the parameter for multiple values. Defaults to [\"active\"] when omitted."},"children":[]}]}]}]}],"pointer":"/paths/~1v2~1ideas/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/ideas","servers":[{"url":"https://api.bagel.ai"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","required":false,"schemaId":"schema_27"},{"name":"pageSize","in":"query","required":false,"schemaId":"schema_28"},{"name":"sortBy","in":"query","required":false,"schemaId":"schema_29"},{"name":"sortDir","in":"query","required":false,"schemaId":"schema_30"},{"name":"componentId","in":"query","required":false,"schemaId":"schema_32"},{"name":"ownerId","in":"query","required":false,"schemaId":"schema_32"},{"name":"createdAtStart","in":"query","required":false,"example":"2024-12-01T00:00:00.000Z","schemaId":"schema_36"},{"name":"createdAtEnd","in":"query","required":false,"example":"2024-12-26T00:00:00.000Z","schemaId":"schema_37"},{"name":"state","in":"query","required":false,"example":["active","generated"],"schemaId":"schema_40","style":"form","explode":true}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiToken","type":"apiKey","name":"authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","500"],"pointer":"/v2/ideas","href":"ideas-api/listideas","openApiOperationId":"ListIdeas","summary":"List ideas"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.bagel.ai"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A paginated list of ideas","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_41","exampleIds":["paths/~1v2~1ideas/get/responses/200/content/application~1json/example"]}},"schemaId":"schema_41","exampleIds":["paths/~1v2~1ideas/get/responses/200/content/application~1json/example"]},{"code":"400","description":"Invalid request or query parameters."},{"code":"401","description":"Unauthorized. Auth token is required."},{"code":"500","description":"Internal server error."}],"pointer":"/paths/~1v2~1ideas/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_41","exampleIds":["paths/~1v2~1ideas/get/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_41","exampleIds":["paths/~1v2~1ideas/get/responses/200/content/application~1json/example"]}}},{"code":"400"},{"code":"401"},{"code":"500"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/ideas-api/listideas"}],"panels":[]}]},"httpPath":"/v2/ideas"},{"label":"Get idea by id","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/ideas-api/getidea","routeSlug":"/openapi/ideas-api/getidea","metadata":{"seo":{"title":"Get idea by id","description":"Returns one idea for the authenticated account, in the same shape as an item of the /v2/ideas list. Any state is served; only an unknown id is a 404."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"GetIdea","name":"Get idea by id","isWebhook":false,"pointer":"/paths/~1v2~1ideas~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get idea by id","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Returns one idea for the authenticated account, in the same shape as an item of the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/v2/ideas"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" list. Any state is served; only an unknown id is a 404."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiToken","scopes":[],"type":"apiKey","in":"header","paramName":"authorization","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your secret API Token in the app settings."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"use the token as the value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"authorization"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header in the following format: Authorization: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Bearer {token}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_32","description":"Bagel ObjectId of the idea.","required":true}],"pointer":"/paths/~1v2~1ideas~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v2/ideas/{id}","servers":[{"url":"https://api.bagel.ai"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_32"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiToken","type":"apiKey","name":"authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","404","500"],"pointer":"/v2/ideas/{id}","href":"ideas-api/getidea","openApiOperationId":"GetIdea","summary":"Get idea by id"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.bagel.ai"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The idea","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiIdea"}},"schemaId":"components/schemas/ApiIdea"},{"code":"400","description":"Invalid idea id."},{"code":"401","description":"Unauthorized. Auth token is required."},{"code":"404","description":"Idea not found."},{"code":"500","description":"Internal server error."}],"pointer":"/paths/~1v2~1ideas~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ApiIdea","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApiIdea"}}},{"code":"400"},{"code":"401"},{"code":"404"},{"code":"500"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/ideas-api/getidea"}],"panels":[]}]},"httpPath":"/v2/ideas/{id}"}],"content":{"contentType":"group","meta":{"name":"Ideas API"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Ideas API","showPageActions":true},{"nodeType":"markdoc","content":"List and filter ideas"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/v2/ideas","summary":"List ideas","prefix":{"name":"get","color":"get"},"badges":[],"link":"/ideas-api/listideas","deprecated":false},{"title":"/v2/ideas/{id}","summary":"Get idea by id","prefix":{"name":"get","color":"get"},"badges":[],"link":"/ideas-api/getidea","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/ApiIdea":{"id":"components/schemas/ApiIdea","kind":"json-schema","title":"ApiIdea","data":{"type":"object","properties":{"id":{"type":"string","description":"Unique Bagel ID of the idea","example":"12345"},"title":{"type":"string","description":"The idea title","example":"New Feature Implementation"},"description":{"type":"string","description":"The idea description","example":"This idea proposes a new feature for improving user experience."},"priority":{"type":"string","description":"Custom options defined by the user in Bagel. Typically values like High, Medium, or Low.","example":"High"},"domain":{"type":"string","description":"Broad business domains that are often connected to several product areas. These represent the main domains of the company.","example":"Product"},"product_area":{"type":"string","description":"More specific area of the business product related to the idea.","example":"UX Design"},"product_sub_area":{"type":"string","description":"Further refines the product categorization.","example":"Prototyping"},"status":{"type":"string","description":"The current status set for the idea","example":"Pending"},"state":{"type":"string","description":"Lifecycle state of the idea in Bagel.","enum":["active","generated","deleted"],"example":"active"},"status_info":{"type":"object","description":"Final display status derived from idea status and linked delivery item, using account status alias mappings","properties":{"internal_status":{"type":"string","description":"Internal product/engineering status (idea status, or linked delivery item status when that link drives the mapping)","example":"In QA"},"external_status":{"type":"string","description":"Customer-facing status label from alias mappings (same rules as request final status)","example":"In Q3 2026"}}},"link":{"type":"string","description":"Direct link to view the idea in Bagel","example":"https://app.bagel.ai/idea/12345"},"owner":{"type":"object","description":"A Bagel user associated with this idea","properties":{"id":{"type":"string","description":"The owner's UUID","example":"abc123"},"name":{"type":"string","description":"The owner's name","example":"Jane Doe"},"email":{"type":"string","format":"email","description":"The owner's email","example":"jane.doe@example.com"}}},"delivery_item":{"type":"object","nullable":true,"description":"External item linked to the idea (usually a Jira issue). Null when the idea has no linked delivery item.","properties":{"id":{"type":"string","description":"The delivery item Bagel ID","example":"delivery123"},"origin":{"type":"string","description":"The source system of this delivery item","example":"jira"},"origin_id":{"type":"string","description":"The ID of the delivery item in the external system","example":"10907"},"title":{"type":"string","description":"The title of the delivery item","example":"2FA Implementation"},"description":{"type":"string","description":"The description of the delivery item, as stored in the external system (may contain markup)","example":"Implement 2FA for all users."},"status":{"type":"string","description":"The status of the linked external item/issue","example":"In Progress"},"link":{"type":"string","description":"Direct link to the item/issue in the external application","example":"https://delivery.example.com"}}},"parent_idea_id":{"type":"string","nullable":true,"description":"Bagel ID of the parent idea when this idea is a sub-idea. Null for a root idea.","example":"6818c2100e46cea9d81234556"},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the idea was initially created","example":"2023-12-01T10:00:00.000Z"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp when any idea fields were last updated (title, description, priority, status, owner, etc.)","example":"2023-12-05T15:00:00.000Z"},"impact":{"type":"object","description":"Aggregated impact properties for the idea, keyed by impact property name. Each entry contains assigned, suggested, and total values. Impact properties are defined in the idea configuration.","additionalProperties":{"$ref":"#/components/schemas/ApiIdeaImpactValue"},"example":{"totalRevenue":{"label":"Total Revenue","assigned":50000,"suggested":75000,"total":125000},"companiesCount":{"label":"Companies","assigned":10,"suggested":5,"total":15}}},"tags":{"type":"array","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tags applied to the idea, as a flat list. Only tags in the default uncategorized \"Tags\" group (field_path \"tags\") are returned; tags belonging to an account-configured tag category are not exposed. An idea with no such tags returns an empty array."},"children":[]}]}]}],"items":{"$ref":"#/components/schemas/ApiIdeaTag"},"example":[{"id":"64f1a2b3c4d5e6f7a8b9c0d1","name":"Needs Design"}]}}}},"components/schemas/ApiIdeaTag":{"id":"components/schemas/ApiIdeaTag","kind":"json-schema","title":"ApiIdeaTag","data":{"type":"object","description":"A single tag applied to the idea.","properties":{"id":{"type":"string","description":"Tag ObjectId.","example":"64f1a2b3c4d5e6f7a8b9c0d1"},"name":{"type":"string","description":"Tag display label.","example":"Needs Design"}}}},"components/schemas/ApiIdeaImpactValue":{"id":"components/schemas/ApiIdeaImpactValue","kind":"json-schema","title":"ApiIdeaImpactValue","data":{"type":"object","description":"Impact aggregation breakdown for a single impact property","properties":{"label":{"type":"string","description":"The display label for this impact property","example":"Total Revenue"},"assigned":{"type":"number","description":"The manually assigned impact value","example":50000},"suggested":{"type":"number","description":"The AI-suggested impact value","example":75000},"total":{"type":"number","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The combined total impact value (assigned + suggested)"},"children":[]}]}]}],"example":125000}}}},"components/schemas/ApiEvidence":{"id":"components/schemas/ApiEvidence","kind":"json-schema","title":"ApiEvidence","data":{"type":"object","properties":{"id":{"type":"string","description":"Unique Bagel ID for the evidence","example":"evid123"},"title":{"type":"string","description":"The title of the evidence","example":"Evidence for Compliance"},"origin":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The true source system this evidence came from (can be Bagel or external apps"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"like Salesforce, Zendesk, etc.). When the evidence was ingested through an"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"intermediary transport (e.g. a Zendesk ticket synced via Snowflake), this"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"reflects Zendesk, not Snowflake — see "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"via"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for the transport."},"children":[]}]}]}],"example":"System"},"via":{"type":"string","nullable":true,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The transport "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"origin"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" was reported as before being resolved to the true"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"source system. Set only when the evidence (or its origin cx item) carries a"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"trueOrigin distinct from origin — e.g. a Zendesk ticket ingested via a"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Snowflake connection reports "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"origin: \"zendesk\""},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"via: \"snowflake\""},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Null"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"when "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"origin"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" already reflects the real source system."},"children":[]}]}]}],"example":"snowflake"},"origin_id":{"type":"string","nullable":true,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The ID of the item this evidence originated from in the external system."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Prefers the evidence's own external ID, which is set when an integration created"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"it directly against an external record. Most evidence is instead derived from a"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"conversation, ticket or call that Bagel ingested and carries no ID of its own — in"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"that case this falls back to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"origin_object.origin_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", the ID of the source item."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Null only when neither is available (for example evidence submitted through the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chrome extension with no external source item)."},"children":[]}]}]}],"example":"orig5678"},"description":{"type":"string","description":"The description of the evidence","example":"Supporting evidence for compliance case."},"priority":{"type":"string","description":"The priority of the evidence, usually set to default and can be selected when evidences are created from GTM apps","example":"Medium"},"domain":{"type":"string","description":"Broad business domains that are often connected to several product areas. These represent the main domains of the company.","example":"Legal"},"product_area":{"type":"string","description":"More specific area of the business product related to the idea","example":"Risk Management"},"product_sub_area":{"type":"string","description":"Further refines the product categorization","example":"Fraud Detection"},"type":{"type":["string","null"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The type of evidence. Can be either 'gap' or 'request'."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"'gap': Evidence automatically extracted from various data sources such as:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Support calls and interactions"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Customer surveys"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Customer feedback"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"And other customer touchpoint data"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"These represent identified gaps."},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"'request': Evidence created and submitted primarily by GTM teams using their apps (Salesforce, Zendesk) or created inside Bagel platform by Bagel users."},"children":[]}]}]}]}]}],"enum":["gap","request",null],"example":"request"},"status":{"type":["string","null"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The status of the evidence."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Possible states:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"'inReview': The evidence request is waiting for review"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"'assigned': The evidence has been assigned to idea"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"'dismissed': The evidence request has been dismissed/rejected"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"null: state for 'gap' evidence"},"children":[]}]}]}]}],"enum":["inReview","assigned","dismissed",null],"example":"inReview"},"status_info":{"type":"object","description":"Export API workflow status: lifecycle summary (comma-separated external labels using the\nsame alias rules as Customer 360) and assigned idea id from evidence.ideaId.\n","properties":{"processed_status":{"type":"string","description":"Lifecycle summary from submission through idea to delivery (comma-separated)","example":"Pending, Roadmap, GA"},"assigned_idea_id":{"type":["string","null"],"description":"Bagel idea id from evidence.ideaId when set","example":"6818c2100e46cea9d81234556"}}},"business_name":{"type":"string","description":"The business name of the evidence","example":"Acme Corp"},"source":{"type":"string","description":"The source of the evidence","example":"Internal Audit"},"owner":{"type":"object","description":"A Bagel user who is set as the owner of this evidence. Ownership is typically assigned automatically \nbased on the evidence's product area - each product area in Bagel settings has a designated owner, \nand when evidence is created or assigned to a product area, its owner is set to match that area's owner.\n","properties":{"id":{"type":"string","description":"The owner's unique identifier in Bagel","example":"owner123"},"name":{"type":"string","description":"The owner's name","example":"John Smith"},"email":{"type":"string","format":"email","description":"The owner's email address","example":"john.smith@example.com"}}},"delivery_item":{"type":"object","nullable":true,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"External item (usually a Jira issue) inherited from the idea the evidence is assigned to"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ideaId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). It mirrors that idea's "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"delivery_item"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Null when the evidence has no assigned"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"active idea, or the idea has no linked delivery item. An idea reached only through"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"gtm_idea"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" does not contribute a delivery item."},"children":[]}]}]}],"properties":{"id":{"type":"string","description":"The delivery item Bagel ID","example":"delivery567"},"origin":{"type":"string","description":"The source system of this delivery item","example":"jira"},"origin_id":{"type":"string","description":"The ID of the delivery item in the external system","example":"JIRA-123"},"title":{"type":"string","description":"The title of the delivery item","example":"2FA Implementation"},"description":{"type":"string","description":"The description of the delivery item","example":"Implement 2FA for all users with support for Google Authenticator, Microsoft Authenticator, and SMS. should support setting policy for different roles."},"status":{"type":"string","description":"The current status of the linked external item/issue","example":"Completed"},"link":{"type":"string","description":"Direct link to access the item/issue in the external system","example":"https://delivery.example.com/item/567"}}},"origin_object":{"type":"object","properties":{"id":{"type":"string","description":"The related item Id","example":"12345"},"origin":{"type":"string","description":"The related item origin","example":"salesforce"},"origin_id":{"type":"string","description":"The related item Id at origin","example":"sFOpportunity123"},"title":{"type":"string","description":"The title of the item","example":"Opportunity Title"},"description":{"type":"string","description":"The description of the item","example":"Opportunity Description"},"type":{"type":"string","description":"The type of the item","example":"opportunity"},"link":{"type":"string","description":"The link of item","example":"https://example.salforce.com/item/567"}}},"gtm_idea":{"type":"object","description":"Represents an idea that was suggested by the GTM team during evidence submission.\nWhen GTM teams submit evidence through their apps (like Salesforce or Zendesk),\nthey can suggest an existing idea that this evidence should be connected to.\nThis is different from a direct idea connection and serves as a suggestion\nthat can be reviewed by the evidence owner.\n","properties":{"id":{"type":"string","description":"The ID of the suggested idea","example":"idea789"},"status":{"type":"string","description":"The current status of the suggested idea","example":"Implemented"},"title":{"type":"string","description":"The title of the suggested idea","example":"Streamlined Workflow"}}},"submitter":{"type":"object","description":"Information about the user who submitted the request. Only present for evidence of type 'request'.\nNot applicable for evidence of type 'gap'.\n","properties":{"id":{"type":"string","description":"The submitter's unique identifier in bagel","example":"submit123"},"name":{"type":"string","description":"The submitter's name","example":"Alice Johnson"},"email":{"type":"string","format":"email","description":"The submitter's email address","example":"alice.johnson@example.com"}}},"company":{"type":"object","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The company/account linked to this evidence. The connection is established differently based on evidence type and origin:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For Salesforce submissions: Automatically set based on the account from which the evidence was submitted"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For Zendesk/Chrome extension: Manually set during submission"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For 'gap' type evidence: Set to the account connected to the item from which the gap was extracted"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company IDs from different systems are stored to maintain proper linking across integrations."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Currently supports Salesforce and Zendesk as primary sources."},"children":[]}]}]}],"properties":{"external_id":{"type":"string","description":"Generic external identifier for the company","example":"comp123"},"name":{"type":"string","description":"The company's display name","example":"Tech Solutions Inc."},"intercom_id":{"type":"string","description":"The company's Intercom identifier","example":"intercom567"},"sf_id":{"type":"string","description":"The company's Salesforce account ID","example":"sf789"},"zendesk_id":{"type":"string","description":"The company's Zendesk organization ID","example":"zendesk456"},"crm_id":{"type":"string","description":"The company's CRM identifier (typically matches Salesforce ID)","example":"001Rt000001i4OsTQZ"}}},"reject_info":{"type":"object","description":"Information about the rejection of an evidence request. This is only present when a GTM-submitted evidence \nhas been rejected by a Product Manager during the review process. This helps track why and by whom \nthe evidence request was rejected.\n","properties":{"reason":{"type":"string","description":"The reason category selected for rejecting the evidence request","example":"Insufficient data"},"comment":{"type":"string","description":"Additional explanation provided by the PM for the rejection","example":"Please provide additional supporting documents."},"rejected_at":{"type":"string","nullable":true,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Timestamp when the evidence was rejected by the PM. Currently always null —"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"the rejection flow does not persist this timestamp yet. Use the evidence's"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"updatedAt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" as an approximation."},"children":[]}]}]}],"format":"date-time","example":"2023-12-01T00:00:00.000Z"},"rejecting_user":{"type":"object","description":"Information about the Product Manager who rejected the evidence","properties":{"id":{"type":"string","description":"The PM's unique identifier in bagel","example":"rejectuser123"},"name":{"type":"string","description":"The PM's name","example":"Bob Carter"},"email":{"type":"string","format":"email","description":"The PM's email address","example":"bob.carter@example.com"}}}}},"createdAt":{"type":"string","format":"date-time","description":"The creation date of the evidence","example":"2023-12-01T10:00:00.000Z"},"updatedAt":{"type":"string","format":"date-time","description":"The last updated date of the evidence","example":"2023-12-05T15:00:00.000Z"}}}},"components/schemas/GenericFeedbackRecord":{"id":"components/schemas/GenericFeedbackRecord","kind":"json-schema","title":"GenericFeedbackRecord","data":{"type":"object","description":"Generic feedback record used for all feedbackCategory values except those with a dedicated schema (e.g., call). Additional fields beyond those listed here are acceptable.","required":["originId","linkedAccountId","createdAt"],"properties":{"originId":{"type":"string","description":"The ID of the original item in the system of origin (e.g., Survey response ID)","example":"survey-resp-123"},"linkedAccountId":{"type":"string","description":"CRM ID of the relevant customer to this evidence/request","example":"sf-account-456"},"createdAt":{"type":"string","format":"date-time","description":"The date the evidence was created/submitted (e.g., survey response date)","example":"2024-01-15T10:30:00.000Z"},"submitterEmail":{"type":"string","format":"email","description":"If applicable, the email of the internal employee who submitted this evidence","example":"john.doe@company.com"},"title":{"type":"string","description":"Optional title for the feedback item","example":"Feature request from customer call"},"description":{"type":"string","description":"Optional description of the feedback","example":"Customer requested advanced reporting capabilities"},"productComponent":{"type":"string","description":"Optional product component related to this feedback","example":"reporting-module"},"priority":{"type":"string","description":"Optional priority level","example":"high"},"ideaId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Optional. When set, links this record to an existing Bagel Idea by its internal id. The evidence is created with state=validated and ideaId resolved to that Idea. Must be a 24-character lowercase hex string (a MongoDB ObjectId)."},"children":[]}]}]}],"example":"68fe6abcc3b1ccd85a60c999"}}}},"components/schemas/CallRecord":{"id":"components/schemas/CallRecord","kind":"json-schema","title":"CallRecord","data":{"type":"object","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Record schema for feedbackCategory=call. Represents a conversation/call with participants and transcript. At least one of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"parts"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (structured transcript segments, preferred) or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"transcript"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (full text) must be provided."},"children":[]}]}]}],"required":["originId","linkedAccountId","createdAt","link","parties"],"anyOf":[{"required":["parts"]},{"required":["transcript"]}],"properties":{"originId":{"type":"string","description":"The ID of the call in the origin system (e.g., Gong call ID)","example":"gong-call-123"},"linkedAccountId":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"CRM ID of the customer Account this call is linked to. This is the Account that \"owns\" the conversation (the customer relationship). For sub-accounts under a larger CRM Organization, use "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"crmOrgId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" separately for the parent org id."},"children":[]}]}]}],"example":"sf-account-456"},"createdAt":{"type":"string","format":"date-time","description":"When the call occurred","example":"2024-01-15T10:30:00.000Z"},"title":{"type":"string","description":"Call title or subject","example":"Q4 Product Review Call"},"duration":{"type":"integer","minimum":0,"description":"Call duration in seconds","example":1800},"origin":{"type":"string","description":"Processing system that provided the conversation data (e.g., gong, zoom etc.)","example":"gong"},"link":{"type":"string","format":"uri","description":"URL to the conversation in the external system","example":"https://app.gong.io/call?id=gong-call-123"},"crmOrgId":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Top-level CRM Organization ID, when distinct from "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"linkedAccountId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Use this for B2B hierarchies where the linked Account is a sub-account of a parent Organization (e.g. linkedAccountId="},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"sf-account-456"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is a subsidiary of crmOrgId="},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"sf-org-456"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). Omit when not applicable."},"children":[]}]}]}],"example":"sf-org-456"},"isInternal":{"type":"boolean","description":"Whether the call is internal (between employees) rather than with an external party","example":false},"parties":{"type":"array","description":"List of participants in the call","items":{"$ref":"#/components/schemas/ConversationParty"}},"parts":{"type":"array","description":"Transcript segments (preferred format). Each part represents a continuous speech segment by one speaker.","items":{"$ref":"#/components/schemas/ConversationPart"}},"transcript":{"type":"string","description":"Full transcript as text (alternative to parts). Expected format: \"Speaker Name (H:mm:ss): text\" with each segment separated by double newlines.","example":"Jane Smith (0:00:00): Let's discuss the roadmap\n\nJohn Doe (0:00:05): We need better reporting"},"submitterEmail":{"type":"string","format":"email","description":"Email of the internal employee who submitted this feedback","example":"jane.smith@company.com"},"description":{"type":"string","description":"Optional description of the feedback"},"productComponent":{"type":"string","description":"Optional product component related to this feedback"},"priority":{"type":"string","description":"Optional priority level"},"ideaId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Optional. When set, links this record to an existing Bagel Idea by its internal id. The evidence is created with state=validated and ideaId resolved to that Idea. Must be a 24-character lowercase hex string (a MongoDB ObjectId)."},"children":[]}]}]}],"example":"68fe6abcc3b1ccd85a60c999"}}}},"components/schemas/ConversationParty":{"id":"components/schemas/ConversationParty","kind":"json-schema","title":"ConversationParty","data":{"type":"object","description":"Represents a participant in a conversation","required":["id","speakerId","name","affiliation"],"properties":{"id":{"type":"string","description":"Unique identifier for this participant","example":"p1"},"speakerId":{"type":"string","description":"Speaker identifier, referenced by ConversationPart.speakerId","example":"spk-1"},"name":{"type":"string","description":"Participant's name","example":"Jane Smith"},"emailAddress":{"type":["string","null"],"format":"email","description":"Participant's email address (may be null when not available)","example":"jane.smith@company.com"},"affiliation":{"type":"string","enum":["Internal","External","Unknown"],"description":"Whether the participant is internal (your org) or external (customer/prospect)","example":"Internal"},"title":{"type":"string","description":"Job title of the participant","example":"Account Executive"},"phoneNumber":{"type":"string","description":"Phone number if available","example":"+1-555-123-4567"},"crmId":{"type":"string","description":"User ID in CRM","example":"crm-user-123"},"linkedAccountId":{"type":"string","description":"Organization ID in CRM","example":"sf-org-456"},"companyName":{"type":"string","description":"Company or organization name of the participant","example":"Customer Corp"}}}},"components/schemas/ConversationPart":{"id":"components/schemas/ConversationPart","kind":"json-schema","title":"ConversationPart","data":{"type":"object","description":"Represents a single segment of the conversation transcript","required":["time","speakerId","text","startMs"],"properties":{"time":{"type":"string","format":"date-time","description":"Timestamp of when the segment started","example":"2024-01-15T10:30:00.000Z"},"speakerId":{"type":"string","description":"ID of the speaker, references ConversationParty.speakerId","example":"spk-1"},"speakerName":{"type":"string","description":"Speaker's display name","example":"Jane Smith"},"speakerEmail":{"type":"string","format":"email","description":"Speaker's email address","example":"jane.smith@company.com"},"text":{"type":"string","description":"Transcript text for this segment","example":"Let's discuss the product roadmap for Q1."},"link":{"type":"string","format":"uri","description":"Deep link to this moment in the recording (if supported)","example":"https://app.gong.io/call?id=123&play=0"},"startMs":{"type":"integer","minimum":0,"description":"Start time in milliseconds from conversation start","example":0},"endMs":{"type":"integer","minimum":0,"description":"End time in milliseconds from conversation start","example":5000},"topic":{"type":"string","description":"Topic or theme of this segment if available","example":"Feature Request"}}}},"schema_21":{"kind":"json-schema","data":{"type":"object","properties":{"createdAtStart":{"type":"string","format":"date-time","description":"ISO 8601 date string.","example":"2024-12-01T00:00:00.000Z"},"createdAtEnd":{"type":"string","format":"date-time","description":"ISO 8601 date string.","example":"2024-12-26T00:00:00.000Z"},"state":{"type":"array","items":{"type":"string","enum":["active","generated","deleted"]},"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Filter ideas by state. Defaults to [\"active\"] when omitted."},"children":[]}]}]}],"example":["active","generated"]}}},"id":"schema_21"},"schema_22":{"kind":"json-schema","data":{"type":"object","properties":{"ideas":{"type":"array","items":{"$ref":"#/components/schemas/ApiIdea"}}}},"id":"schema_22"},"schema_23":{"kind":"json-schema","data":{"type":"object","properties":{"createdAtStart":{"type":"string","format":"date-time","description":"ISO 8601 date string.","example":"2024-12-01T00:00:00.000Z"},"createdAtEnd":{"type":"string","format":"date-time","description":"ISO 8601 date string.","example":"2024-12-26T00:00:00.000Z"},"updatedAtStart":{"type":"string","format":"date-time","description":"ISO 8601 date string. Return evidence updated on or after this date (inclusive).","example":"2024-12-01T00:00:00.000Z"},"updatedAtEnd":{"type":"string","format":"date-time","description":"ISO 8601 date string. Return evidence updated on or before this date (inclusive).","example":"2024-12-26T00:00:00.000Z"}}},"id":"schema_23"},"schema_24":{"kind":"json-schema","data":{"type":"object","properties":{"evidences":{"type":"array","items":{"$ref":"#/components/schemas/ApiEvidence"}}}},"id":"schema_24"},"schema_25":{"kind":"json-schema","data":{"type":"object","required":["feedbackName","feedbackCategory","originSystem","records"],"properties":{"feedbackName":{"type":"string","description":"Name identifier for the feedback type","example":"gong_feature_request"},"feedbackCategory":{"type":"string","description":"The feedback category","enum":["ticket","call","callSummary","survey","chat","lostReason","note","request","meetingInterview","other"],"example":"call"},"originSystem":{"type":"string","description":"The origin system where the feedback items come from","example":"salesforce"},"records":{"type":"array","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Array of feedback records. The expected schema depends on the feedbackCategory: - feedbackCategory=call → use CallRecord schema - All other categories → use GenericFeedbackRecord schema"},"children":[]}]}]}],"items":{"oneOf":[{"$ref":"#/components/schemas/GenericFeedbackRecord"},{"$ref":"#/components/schemas/CallRecord"}]}}}},"id":"schema_25"},"schema_26":{"kind":"json-schema","data":{"type":"object","properties":{"receivedCount":{"type":"integer"},"filteredCount":{"type":"integer"},"insertedCount":{"type":"integer"},"skippedCount":{"type":"integer"},"errors":{"type":"array","items":{"type":"object"}}}},"id":"schema_26"},"schema_27":{"kind":"json-schema","data":{"type":"integer","minimum":1,"default":1},"id":"schema_27"},"schema_28":{"kind":"json-schema","data":{"type":"integer","minimum":1,"maximum":1000,"default":500},"id":"schema_28"},"schema_29":{"kind":"json-schema","data":{"type":"string","default":"createdAt"},"id":"schema_29"},"schema_30":{"kind":"json-schema","data":{"type":"string","enum":["asc","desc"],"default":"desc"},"id":"schema_30"},"schema_31":{"kind":"json-schema","data":{"type":"array","items":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"}},"id":"schema_31"},"schema_32":{"kind":"json-schema","data":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"id":"schema_32"},"schema_33":{"kind":"json-schema","data":{"type":"string","example":"salesforce"},"id":"schema_33"},"schema_34":{"kind":"json-schema","data":{"type":"array","items":{"type":"string"}},"id":"schema_34"},"schema_35":{"kind":"json-schema","data":{"type":"string"},"id":"schema_35"},"schema_36":{"kind":"json-schema","data":{"type":"string","format":"date-time","example":"2024-12-01T00:00:00.000Z"},"id":"schema_36"},"schema_37":{"kind":"json-schema","data":{"type":"string","format":"date-time","example":"2024-12-26T00:00:00.000Z"},"id":"schema_37"},"schema_38":{"kind":"json-schema","data":{"type":"array","items":{"type":"string","enum":["inReview","validated","declined","unassigned"]}},"id":"schema_38"},"schema_39":{"kind":"json-schema","data":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ApiEvidence"}},"total":{"type":"integer","description":"Total number of evidence matching the filters (ignores pagination).","example":1234},"hasMore":{"type":"boolean","description":"Whether more pages are available after the current one.","example":true}}},"id":"schema_39"},"schema_40":{"kind":"json-schema","data":{"type":"array","items":{"type":"string","enum":["active","generated","deleted"]},"example":["active","generated"]},"id":"schema_40"},"schema_41":{"kind":"json-schema","data":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ApiIdea"}},"total":{"type":"integer","description":"Total number of ideas matching the filters (ignores pagination).","example":1234},"hasMore":{"type":"boolean","description":"Whether more pages are available after the current one.","example":true}}},"id":"schema_41"}},"exampleStore":{"paths/~1export~1ideas/post/responses/200/content/application~1json/example":{"value":{"ideas":[{"id":"6818c2100e46cea9d81234556","title":"New Feature Implementation","description":"This idea proposes a new feature for improving user experience.","priority":"High","domain":"Product","product_area":"UX Design","product_sub_area":"Prototyping","status":"Pending","state":"active","link":"https://app.bagel.ai/idea/6818c2100e46cea9d81234556","owner":{"id":"6409c5ccece53d4dbbe93b59","name":"Jane Doe","email":"jane.doe@example.com"},"delivery_item":{"id":"6543b274ae193deed0ecacbc","origin":"jira","origin_id":"10907","title":"New Feature Implementation","description":"Delivery ticket for the new feature.","status":"In Progress","link":"https://bageltechnologies.atlassian.net"},"parent_idea_id":null,"created_at":"2023-12-01T10:00:00.000Z","updated_at":"2023-12-05T15:00:00.000Z","impact":{"totalRevenue":{"label":"Total Revenue","assigned":50000,"suggested":75000,"total":125000}},"status_info":{"internal_status":"In QA","external_status":"In Q3 2026"},"tags":[{"id":"64f1a2b3c4d5e6f7a8b9c0d1","name":"Needs Design"}]}]},"id":"paths/~1export~1ideas/post/responses/200/content/application~1json/example"},"paths/~1export~1evidences/post/responses/200/content/application~1json/example":{"value":{"evidences":[{"id":"1","title":"Request 1","origin":"salesforce","origin_id":"SFOpporunityId-123","type":"request","business_name":"Customer Health Comments","source":"request","description":"Evidence for claim A","priority":"High","domain":"Legal","product_area":"Case Management","product_sub_area":"Compliance","status":"inReview","status_info":{"processed_status":"Pending, Roadmap, GA","assigned_idea_id":"6818c2100e46cea9d81234556"},"owner":{"id":"6409c5ccece53d4dbbe93b59","name":"Test User","email":"example@gmail.com"},"delivery_item":{"id":"6543b274ae193deed0ecacbc","origin":"jira","origin_id":"10907","title":"2FA Implementation","description":"Implement 2FA for all users.","status":"done","link":"https://bageltechnologies.atlassian.net"},"origin_object":{"id":"6543b274ae193deed0ecacbc","origin":"salesforce","origin_id":"SFOpporunityId-123","type":"opportunity","title":"Opportunity Title","description":"Opportunity Description","link":"https://example.salesforce.net/item/567"},"gtm_idea":{"id":"6409c5ccece53d4dbbe93b59","status":"test","title":"Idea Title"},"company":{"name":"Burlington Textiles Corp of America","external_id":"001Rt000001i4OsTQZ","intercom_id":"14563459202934","sf_id":"001Rt000001i4OsTQZ","zendesk_id":"152693059","crm_id":"001Rt000001i4OsTQZ"},"submitter":{"id":"6409c5ccece53d4dbbe93b59","name":"Submitter Name","email":"submitter@example.com"},"reject_info":{"reason":"Insufficient data","comment":"Needs further clarification","rejecting_user":{"id":"6409c5ccece53d4dbbe93b59","name":"Rejecting User","email":"rejecting.user@example.com"},"rejected_at":"2023-12-01T00:00:00.000Z"},"createdAt":"2023-12-01T00:00:00.000Z","updatedAt":"2023-12-02T12:00:00.000Z"}]},"id":"paths/~1export~1evidences/post/responses/200/content/application~1json/example"},"paths/~1sync~1feedback/post/requestBody/content/application~1json/examples/callExample":{"value":{"feedbackName":"gong_calls","feedbackCategory":"call","originSystem":"gong","records":[{"originId":"gong-call-123","linkedAccountId":"sf-account-456","createdAt":"2024-01-15T10:30:00.000Z","title":"Q4 Product Review Call","duration":1800,"origin":"gong","link":"https://app.gong.io/call?id=gong-call-123","isInternal":false,"parties":[{"id":"p1","speakerId":"spk-1","name":"Jane Smith","emailAddress":"jane.smith@company.com","affiliation":"Internal"},{"id":"p2","speakerId":"spk-2","name":"John Doe","emailAddress":"john@customer.com","affiliation":"External","companyName":"Customer Corp"}],"parts":[{"time":"2024-01-15T10:30:00.000Z","speakerId":"spk-1","speakerName":"Jane Smith","speakerEmail":"jane.smith@company.com","text":"Let's discuss the product roadmap for Q1.","startMs":0,"endMs":5000},{"time":"2024-01-15T10:30:05.000Z","speakerId":"spk-2","speakerName":"John Doe","speakerEmail":"john@customer.com","text":"We'd love to see better reporting capabilities.","startMs":5000,"endMs":12000,"topic":"Feature Request"}]}]},"key":"callExample","summary":"Call feedback (feedbackCategory=call)","id":"paths/~1sync~1feedback/post/requestBody/content/application~1json/examples/callExample"},"paths/~1sync~1feedback/post/requestBody/content/application~1json/examples/genericExample":{"value":{"feedbackName":"nps_survey","feedbackCategory":"survey","originSystem":"surveymonkey","records":[{"originId":"survey-resp-123","linkedAccountId":"sf-account-456","createdAt":"2024-01-15T10:30:00.000Z","submitterEmail":"sales@company.com","title":"NPS Response - Q4","description":"Customer rated 8/10, wants better reporting","priority":"high"}]},"key":"genericExample","summary":"Generic feedback (other categories)","id":"paths/~1sync~1feedback/post/requestBody/content/application~1json/examples/genericExample"},"paths/~1sync~1feedback/post/responses/200/content/application~1json/example":{"value":{"receivedCount":2,"filteredCount":2,"insertedCount":2,"skippedCount":0,"errors":[]},"id":"paths/~1sync~1feedback/post/responses/200/content/application~1json/example"},"paths/~1v2~1evidences/get/responses/200/content/application~1json/example":{"value":{"total":1234,"hasMore":true,"items":[{"id":"1","title":"Request 1","origin":"salesforce","origin_id":"SFOpporunityId-123","type":"request","business_name":"Customer Health Comments","source":"request","description":"Evidence for claim A","priority":"High","domain":"Legal","product_area":"Case Management","product_sub_area":"Compliance","status":"inReview","status_info":{"processed_status":"Pending, Roadmap, GA","assigned_idea_id":"6818c2100e46cea9d81234556"},"owner":{"id":"6409c5ccece53d4dbbe93b59","name":"Test User","email":"example@gmail.com"},"delivery_item":{"id":"6543b274ae193deed0ecacbc","origin":"jira","origin_id":"10907","title":"2FA Implementation","description":"Implement 2FA for all users.","status":"done","link":"https://bageltechnologies.atlassian.net"},"origin_object":{"id":"6543b274ae193deed0ecacbc","origin":"salesforce","origin_id":"SFOpporunityId-123","type":"opportunity","title":"Opportunity Title","description":"Opportunity Description","link":"https://example.salesforce.net/item/567"},"gtm_idea":{"id":"6409c5ccece53d4dbbe93b59","status":"test","title":"Idea Title"},"company":{"name":"Burlington Textiles Corp of America","external_id":"001Rt000001i4OsTQZ","intercom_id":"14563459202934","sf_id":"001Rt000001i4OsTQZ","zendesk_id":"152693059","crm_id":"001Rt000001i4OsTQZ"},"submitter":{"id":"6409c5ccece53d4dbbe93b59","name":"Submitter Name","email":"submitter@example.com"},"reject_info":{"reason":"Insufficient data","comment":"Needs further clarification","rejecting_user":{"id":"6409c5ccece53d4dbbe93b59","name":"Rejecting User","email":"rejecting.user@example.com"},"rejected_at":"2023-12-01T00:00:00.000Z"},"createdAt":"2023-12-01T00:00:00.000Z","updatedAt":"2023-12-02T12:00:00.000Z"},{"id":"2","title":"Reporting gap from Q4 call","origin":"gong","origin_id":"gong-call-789","type":"gap","business_name":"Acme Corp","source":"call","description":"Customer asked for better reporting capabilities","priority":"Medium","domain":"Product","product_area":"Analytics","status":null,"status_info":{"processed_status":"Pending","assigned_idea_id":null},"owner":{"id":"6409c5ccece53d4dbbe93b60","name":"Jane Doe","email":"jane.doe@example.com"},"company":{"name":"Acme Corp","crm_id":"001Rt000001i4OsXYZ"},"createdAt":"2024-01-15T10:30:00.000Z","updatedAt":"2024-01-16T08:00:00.000Z"}]},"id":"paths/~1v2~1evidences/get/responses/200/content/application~1json/example"},"paths/~1v2~1ideas/get/responses/200/content/application~1json/example":{"value":{"total":1234,"hasMore":true,"items":[{"id":"6818c2100e46cea9d81234556","title":"New Feature Implementation","description":"This idea proposes a new feature for improving user experience.","priority":"High","domain":"Product","product_area":"UX Design","product_sub_area":"Prototyping","status":"Pending","state":"active","link":"https://app.bagel.ai/idea/6818c2100e46cea9d81234556","owner":{"id":"6409c5ccece53d4dbbe93b59","name":"Jane Doe","email":"jane.doe@example.com"},"delivery_item":{"id":"6543b274ae193deed0ecacbc","origin":"jira","origin_id":"10907","title":"New Feature Implementation","description":"Delivery ticket for the new feature.","status":"In Progress","link":"https://bageltechnologies.atlassian.net"},"parent_idea_id":null,"created_at":"2023-12-01T10:00:00.000Z","updated_at":"2023-12-05T15:00:00.000Z","impact":{"totalRevenue":{"label":"Total Revenue","assigned":50000,"suggested":75000,"total":125000},"companiesCount":{"label":"Companies","assigned":10,"suggested":5,"total":15}},"status_info":{"internal_status":"In QA","external_status":"In Q3 2026"},"tags":[{"id":"64f1a2b3c4d5e6f7a8b9c0d1","name":"Needs Design"}]}]},"id":"paths/~1v2~1ideas/get/responses/200/content/application~1json/example"}},"securitySchemeStore":{"ApiToken":{"id":"ApiToken","type":"apiKey","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your secret API Token in the app settings."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"use the token as the value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"authorization"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header in the following format: Authorization: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Bearer {token}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"in":"header","paramName":"authorization"}},"servers":[{"url":"https://api.bagel.ai"}]},"options":{"hideSidebar":true,"mockServer":{"off":true},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/openapi.json?download"},{"url":"/_bundle/openapi.yaml?download"}],"excludeFromSearch":false,"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Bagel Api","description":"Bagel API docs"}},"baseSlug":"/openapi","routesMapping":{}}