FruxonDocs
ApiKnowledge bases

Puts an archived source back in the working list, stopped.

A managed source comes back paused, because archiving stopped its schedule and that is the state it is actually in — starting to read again is the separate decision resume exists to be. A linked source comes back active, the label linking gave it, since paused would be a claim about a runtime Knowledge neither stopped nor can stop.

POST
/v1/tenants/{tenant}/knowledgeBases/{knowledgeBase}/sources/{source}:unarchive
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

knowledgeBase*string

The knowledge base id.

Formatuuid
source*string

The knowledge source id.

Formatuuid
tenant*string

The tenant identifier

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/knowledgeBases/497f6eca-6276-4993-bfeb-53cbbbba6f08/sources/497f6eca-6276-4993-bfeb-53cbbbba6f08:unarchive"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "knowledgeBaseId": "619a59ff-6d34-4e0c-9a58-4d2cf062eac9",
  "displayName": "string",
  "kind": "UNSPECIFIED",
  "status": "UNSPECIFIED",
  "managementMode": "UNSPECIFIED",
  "recipeKey": "string",
  "recipeVersion": 0,
  "config": null,
  "approvalPolicy": "UNSPECIFIED",
  "approvalSamplePercent": 0,
  "publishPolicy": "UNSPECIFIED",
  "settingsEditable": true,
  "settingsNotEditableReason": "string",
  "upgradeAvailable": {
    "from": 0,
    "to": 0,
    "kind": "UNSPECIFIED"
  },
  "openUpgrade": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "ownerKind": "UNSPECIFIED",
    "ownerId": "4d206909-730f-409a-88f6-dcfaa8fc28cc",
    "recipeKey": "string",
    "fromVersion": 0,
    "toVersion": 0,
    "status": "UNSPECIFIED",
    "failedDuring": "UNSPECIFIED",
    "detail": "string",
    "wasActive": true,
    "canRollBack": true,
    "work": {
      "agents": [
        {
          "role": "UNSPECIFIED",
          "agentId": "string",
          "action": "UNSPECIFIED",
          "targetHash": "string"
        }
      ],
      "automation": {
        "triggerId": "b89c9c0a-30c6-475a-b185-93813e22ffcf",
        "action": "UNSPECIFIED",
        "targetHash": "string"
      },
      "drainStageIds": [
        "string"
      ]
    },
    "revisionsBefore": {
      "property1": 0,
      "property2": 0
    },
    "revisionsAfter": {
      "property1": 0,
      "property2": 0
    },
    "created": [
      {
        "kind": "UNSPECIFIED",
        "role": "UNSPECIFIED",
        "resourceId": "string"
      }
    ],
    "requestedBy": "string",
    "createdAt": 0,
    "modifiedAt": 0,
    "appliedAt": 0,
    "confirmedAt": 0,
    "rolledBackAt": 0
  },
  "resources": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "resourceKind": "UNSPECIFIED",
      "resourceId": "string",
      "role": "UNSPECIFIED",
      "ownership": "UNSPECIFIED"
    }
  ],
  "createdAt": 0,
  "modifiedAt": 0
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}